export declare function ensureSafeTree(root: string, directoryRelativePath: string): Promise; export declare function readSafeRecord(root: string, relativePath: string): Promise; /** Creates a fully-synced file atomically without ever replacing an existing path. */ export declare function atomicCreateRecord(root: string, relativePath: string, bytes: Uint8Array): Promise<'stored' | 'exists'>;