UNPKG

581 BTypeScriptView Raw
1export declare function exists(filepath: string): Promise<boolean>;
2export declare function readFile(filepath: string): Promise<string>;
3export declare function existsSync(filepath: string): boolean;
4export declare function readFileSync(filepath: string): string;
5export declare function resolve(root: string, file: string, ext: string): string;
6export declare function fallback(file: string): string | undefined;
7export declare function dirname(filepath: string): string;
8export declare function contains(root: string, file: string): boolean;
9export { sep } from 'path';