/** Minimal stat surface shared by the secure and platform filesystems. */ interface StatCapableFs { stat(path: string): Promise<{ isFile: boolean; }>; } /** * Resolve the first path in `paths` order that exists as a file, or null. * All candidates are stat-probed in parallel; order of `paths` decides the * winner, not which probe resolves first. */ export declare function findFirstExistingFile(fs: StatCapableFs, paths: string[]): Promise; export {}; //# sourceMappingURL=fs-probe.d.ts.map