import type { CachePayload } from "./types.js"; /** Create a detached, JSON-store-compatible snapshot of a valid payload. */ export declare function cloneCachePayload(value: CachePayload): CachePayload; /** * Serialize using the origin-compatible payload shape. * * Dates become canonical ISO strings for old readers and are rehydrated by new * readers through a bounded semantic-path sidecar. Both node-map projections * are emitted because the original distributed-store adapter consumed the * top-level form while the original API adapter consumed the nested form. */ export declare function serializeCachePayload(value: CachePayload): string; /** Validate untrusted store data and return a detached snapshot on success. */ export declare function parseCachePayload(value: unknown): CachePayload | undefined; /** Reject oversized or malformed JSON before constructing an untrusted object graph. */ export declare function parseSerializedCachePayload(value: string): CachePayload | undefined; //# sourceMappingURL=cache-payload.d.ts.map