import type { InMemoryWorkspace } from '@scalar/workspace-store/schemas/inmemory-workspace'; /** Independent workspace snapshots used by the first server and browser renders. */ type HydrationState = { slug: string; reference: InMemoryWorkspace; client: InMemoryWorkspace; }; /** Serialize preloaded documents for inline HTML without duplicate snapshots, auth, or history. */ export declare const serializeHydrationState: ({ slug, reference, client }: HydrationState) => string; /** * Restore independent workspace snapshots from inline state. * Throws on damaged JSON so the caller can fall back to normal client loading. */ export declare const parseHydrationState: (serializedState: string) => HydrationState; export {}; //# sourceMappingURL=hydration-state.d.ts.map