/** * Find the closest instance of `fileName` starting at `startDirectory` and * walking up towards the filesystem root. */ export declare function getClosestFile(fileName: string, startDirectory?: string): string | undefined; /** Same as `getClosestFile` but throws when the file cannot be found. */ export declare function getClosestFileOrThrow(fileName: string, startDirectory?: string): string;