import type { SnapshotCreateOptions, SnapshotRestoreOptions, DatabaseInfo } from '../types/index.js'; export declare class FilesystemSnapshot { private readonly dataDir; constructor(dataDir?: string); /** * Resolve database address (c200...) to replica ID */ private resolveAddress; /** * Create a filesystem snapshot of a database * ⚠️ WARNING: Stop the database first to avoid corruption! */ create(options: SnapshotCreateOptions): Promise; /** * Restore a filesystem snapshot * ⚠️ WARNING: This will OVERWRITE the existing database! */ restore(options: SnapshotRestoreOptions): Promise; /** * List all database identities */ list(): Promise; /** * Parse database Identity hashes from control database */ private getDatabaseIdentities; /** * Parse database names from control database */ private getDatabaseNames; private createCompressedSnapshot; private createDirectorySnapshot; private restoreCompressedSnapshot; private restoreDirectorySnapshot; private tarDirectory; private untarDirectory; private checkServerRunning; private isServerRunning; private getDirectorySize; private promptUser; } //# sourceMappingURL=filesystem.d.ts.map