export interface FileEntry { name: string; type: "file" | "directory"; size?: number; mimeType?: string; modifiedAt?: string; } export interface DriveVolume { id: string; name: string; label: string | null; strategy: "mounted" | "hydrated"; mountPath: string | null; path: string; absolutePath: string; totalFiles: number; totalSize: number; sync?: { ignore?: string[]; } | null; } /** * File URL on the data plane. A top-level navigation to this carries the * cross-subdomain session cookie, so the browser can render files natively. */ export declare function fileUrl(projectId: string, path: string, download?: boolean): string; export declare function strategyLabel(strategy?: DriveVolume["strategy"]): "Hydrated" | "Mounted"; export declare function driveLabel(drive: DriveVolume): string; export declare function VolumeStrategyIcon({ strategy, size, className, }: { strategy?: DriveVolume["strategy"]; size?: number; className?: string; }): import("react/jsx-runtime").JSX.Element; export declare function strategyDescription(strategy?: DriveVolume["strategy"]): "Copies persistent contents into local sandbox storage before the run and synchronizes according to the writeback policy." | "Attaches persistent storage live at the configured sandbox path for the duration of the lease." | "Project volume."; export declare function formatSize(bytes?: number): string; export declare function EntryIcon({ entry }: { entry: FileEntry; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=file-browser-primitives.d.ts.map