type GitTreeEntry = { mode: string; type: "blob" | "tree" | "commit"; object: string; size: number | null; name: string; }; type SnapshotOptions = { gitRoot: string; preload?: (entry: GitTreeEntry) => boolean; root?: string; tree: string; }; declare class SnapshotMetadata { readonly entry: GitTreeEntry; readonly name: string; constructor(entry: GitTreeEntry, name: string); isDirectory(): boolean; isFile(): boolean; isSymbolicLink(): boolean; } export declare function createGitSnapshotFileSystem({ gitRoot, preload, root, tree, }: SnapshotOptions): { lstat(path: string): Promise; readFile(path: string, encoding?: BufferEncoding): Promise; readdir(path: string, options?: { withFileTypes?: boolean; }): Promise; snapshotEntry(path: string): ({ mode: string; type: "blob" | "tree" | "commit"; object: string; name: string; } & { size: number | null; }) | null; snapshotEntries(path: string): GitTreeEntry[]; snapshotFile(path: string): Promise>; }; export {}; //# sourceMappingURL=git-snapshot.d.ts.map