/** Handle returned by requestIdleCallback or setTimeout fallback. */
export type IdleCallbackHandle = number;
/**
 * Versioned envelope for cached data stored in sessionStorage.
 * Only the `state` field is compressed; metadata remains readable for debugging.
 */
export type CacheEnvelope = {
    /** Schema version - bump to invalidate old caches */
    version: number;
    /** Unix timestamp (ms) when cache was written */
    timestamp: number;
    /** TypeScript-like description of the data shape */
    schema: string;
    compression: 'lz-utf16';
    count: number;
    /** Human-readable size of uncompressed state (e.g., "12.5 KB") */
    sizeKB: string;
    /** LZ-UTF16 compressed JSON string of the actual data */
    state: string;
};
//# sourceMappingURL=types.d.ts.map