import { type GameSaveFile, type ParseSaveOptions } from './save.js'; export interface SaveSlotMetadata { readonly id: string; readonly name: string; readonly map: string; readonly difficulty: number; readonly playtimeSeconds: number; readonly timestamp: number; readonly version: number; readonly bytes: number; } type IndexedDbFactory = { open(name: string, version?: number): unknown; }; export interface SaveStorageOptions { readonly dbName?: string; readonly storeName?: string; readonly indexedDB?: IndexedDbFactory | null; } export interface SaveWriteOptions { readonly name?: string; } export declare class SaveStorage { private static readonly DEFAULT_DB_NAME; private static readonly DEFAULT_STORE; private static readonly QUICK_SLOT; private readonly adapter; constructor(options?: SaveStorageOptions); save(slotId: string, save: GameSaveFile, options?: SaveWriteOptions): Promise; load(slotId: string, options?: ParseSaveOptions): Promise; delete(slotId: string): Promise; list(): Promise; quickSave(save: GameSaveFile): Promise; quickLoad(options?: ParseSaveOptions): Promise; } export {}; //# sourceMappingURL=storage.d.ts.map