import type { ContextRecordV2 } from "../types.js";
import type { ContextId } from "./types.js";
export interface ContextStorageV2 {
    saveContext(id: ContextId, context: ContextRecordV2): Promise<void>;
    /**
     * Load a context record from storage.
     * Returns unknown because the stored format may be any version.
     * The migration system handles version detection and migration.
     */
    loadContext(id: ContextId): Promise<unknown | null>;
    deleteContext(id: ContextId): Promise<void>;
    deleteAllContexts(): Promise<void>;
}
//# sourceMappingURL=index.d.ts.map