export type StatSyncLike = (path: string, options: { throwIfNoEntry: false; }) => { isFile: () => boolean; }; /** * Synchronous check to see whether the given path exists and is a file. */ export declare function fileExists(...parts: string[]): boolean; /** * Synchronous check to see whether the given path exists and is a file. * This form accepts an override for `fs.statSync`. */ export declare function fileExists(statSync: StatSyncLike, ...parts: string[]): boolean; //# sourceMappingURL=file-exists.d.ts.map