import type { StorageRequest } from "../build/seam";
import type { BaseFilesystem } from "../fs/base-filesystem";
import type { StorageDescription } from "../interface";
/**
 * Resolve the `dataDir` / `fs` options into the storage a build mounts. A scheme is required
 * (`memory://`, `idb://<name>`, `file://<path>`); a bare path, an unknown scheme and the removed
 * `opfs-ahp://` are refused before anything is booted.
 */
export declare function resolveStorage(dataDir: string | undefined, fs: BaseFilesystem | undefined): StorageRequest;
/** The public description of where a data directory lives. */
export declare function describeStorage(storage: StorageRequest): StorageDescription;
/** The file name a Store backup gets: the storage's last path segment, else `pgdata`. */
export declare function backupBaseName(storage: StorageDescription): string;
//# sourceMappingURL=storage.d.ts.map