import type { InitAuthoredSnapshotHooks, InitAuthoredSnapshotRecord } from './init-authored-plan-types.js'; import type { BigIntStats } from 'node:fs'; export interface SnapshotBudget { entries: number; bytes: number; } export declare function sameSnapshotStat(left: BigIntStats, right: BigIntStats): boolean; export declare function validateSafeSnapshotStat(stat: BigIntStats, expected: 'file' | 'directory', path: string): void; export interface InitAuthoredSnapshotOpenDependencies { readonly platform?: NodeJS.Platform; readonly open?: (path: string, flags: number) => number; } export declare function openInitAuthoredSnapshotPath(path: string, directory: boolean, dependencies?: InitAuthoredSnapshotOpenDependencies): number | undefined; export declare function stableSnapshotDirectoryNames(absolutePath: string, relativePath: string, hooks: InitAuthoredSnapshotHooks | undefined): readonly string[]; export declare function inspectExistingSnapshotPath(absolutePath: string, relativePath: string, budget: SnapshotBudget, hooks: InitAuthoredSnapshotHooks | undefined): InitAuthoredSnapshotRecord; export declare function isOpaqueGeneratedSnapshotEntry(absolutePath: string, relativePath: string, budget: SnapshotBudget): boolean; //# sourceMappingURL=init-authored-plan-snapshot-fs.d.ts.map