import type { NodeishFilesystem } from "./NodeishFilesystemApi.js";
export type Snapshot = {
    fsMap: {
        [key: string]: string[] | string | {
            placeholder: true;
        };
    };
    fsStats: {
        [key: string]: {
            ctimeMs: number;
            mtimeMs: number;
            dev: number;
            mode: number;
            uid: number;
            gid: number;
            size: number;
            _kind: number;
            _oid?: string;
            _rootHash?: string;
        };
    };
};
export declare function toSnapshot(fs: NodeishFilesystem): {
    fsMap: any;
    fsStats: any;
};
export declare function fromSnapshot(fs: NodeishFilesystem, snapshot: {
    fsMap: any;
    fsStats: any;
}, { pathPrefix }?: {
    pathPrefix?: string | undefined;
}): void;
export declare function createNodeishMemoryFs(): NodeishFilesystem;
//# sourceMappingURL=memoryFs.d.ts.map