export type SourceFiles = Map; type Snapshot = { id: string; message: string; at: string; files: SourceFiles; }; export declare class MemorySourceStore { files: SourceFiles; snapshots: Map; archived: boolean; constructor(files?: SourceFiles, snapshots?: Map); clone(): MemorySourceStore; hasFile(path: string): boolean; readFile(path: string): Promise; writeFile(path: string, contents: string): Promise; listFiles(root?: string): Promise; snapshot(message?: string): Promise; fork(snapshotId: string): Promise; archive(): Promise; } export declare function createMemorySourceStoreFromDirectory(rootDir: string): Promise; export declare function sourcePathJoin(...parts: string[]): string; export declare function sourcePathDirname(path: string): string; export {}; //# sourceMappingURL=source-store.d.ts.map