export declare const HOST_STORAGE_MINIMUM_FREE_BYTES: bigint; export interface HostStorageProbeDependencies { realpath(path: string): Promise; stat(path: string): Promise<{ dev: bigint; }>; statfs(path: string): Promise<{ bavail: bigint; bsize: bigint; }>; } export type StorageCandidate = { label: string; path: string; recovery: string; required: boolean; }; export type HostStorageIssue = { label: string; message: string; severity: 'error' | 'warning'; type: 'low-space' | 'probe' | 'resolution'; }; export type HostStorageFilesystem = { availableBytes: bigint; device: bigint; labels: string[]; path: string; }; export type HostStorageResult = { filesystems: HostStorageFilesystem[]; issues: HostStorageIssue[]; ok: boolean; }; export declare function errorMessage(error: unknown): string; export declare function formatGiB(bytes: bigint): string; export declare function makeResolutionIssue(candidate: StorageCandidate, detail: string): HostStorageIssue; export declare function probeHostStorage(candidates: StorageCandidate[], dependencies: HostStorageProbeDependencies, minimumFreeBytes?: bigint): Promise;