export interface WalkUpOptions extends LineageOptions { isDir?: boolean; } export declare function walkUp(filePath: string, find: (dirPath: string) => Promise, options?: WalkUpOptions): Promise; export interface LineageOptions { root?: string; } export declare function lineage(path: string, options?: LineageOptions): Generator;