import type { CheckpointStore } from "./contracts.js"; export declare const CHECKPOINT_CONFLICT_CODE = "ERR_PRISM_CHECKPOINT_CONFLICT"; export declare class CheckpointConflictError extends Error { readonly code = "ERR_PRISM_CHECKPOINT_CONFLICT"; constructor(message: string); } export interface MemoryCheckpointStoreOptions { readonly maxPageSize?: number; /** Capacity bound: least-recently-saved records are evicted past this count (default 10_000). */ readonly maxRecords?: number; /** Per-record bound on the JSON-encoded value in bytes (default 1 MiB); oversized values are rejected. */ readonly maxValueBytes?: number; } /** In-process reference implementation of the generic checkpoint contract. */ export declare function createMemoryCheckpointStore(options?: MemoryCheckpointStoreOptions): CheckpointStore;