/** * The hydration payload is an authority boundary: route code may render any * element inside the application root, including a duplicate id. Only the * unique matching element directly owned by
is accepted. */ export declare const HYDRATION_DATA_ELEMENT_ID = "veryfront-hydration-data"; export interface HydrationDataElementLike { readonly id: string; readonly tagName?: string; readonly parentElement?: unknown; textContent: string | null; getAttribute(name: string): string | null; } export interface HydrationDataDocumentLike { readonly body: { readonly firstElementChild?: HydrationDataElementLike | null; } | null; querySelectorAll(selector: string): Iterable