export declare class NoPkgJsonFound extends Error {
    directory: string;
    constructor(directory: string);
}
export declare function findRoot(cwd: string): Promise<string>;
export declare function findRootSync(cwd: string): string;
