export interface SerializeStateOptions { /** `window.____` — defaults to `JORVEL_STATE`. */ key?: string; /** CSP nonce. Must match base64url alphabet; emitted as `nonce="..."`. */ nonce?: string; } export declare function serializeState(state: unknown, opts?: SerializeStateOptions): string; export declare function hydrateState(key?: string): T | undefined; /** * Read and immediately delete the hydrated state in one step. Recommended over * `hydrateState` so PII / tokens don't linger on `window` for browser * extensions or DevTools to inspect. */ export declare function consumeHydratedState(key?: string): T | undefined; export declare function clearHydratedState(key?: string): void; //# sourceMappingURL=state-hydration.d.ts.map