export interface HydrationIslandPayload { id: string; html: string; props: Record; } export interface HydrationManifestPayload { islands: HydrationIslandPayload[]; } export type HydrationManifestSource = HydrationManifestPayload | (() => HydrationManifestPayload | undefined); export interface SsrDocumentOptions { /** Document title when wrapping a fragment (ignored when body is a full HTML document). */ title?: string; /** `lang` attribute on `` when wrapping a fragment. */ lang?: string; /** Extra markup injected before `` (e.g. `@vite` tags). */ head?: string; /** Serialized into `