/** * 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; } /** * Returns the unique server-owned hydration element, or null when its direct * body ownership is ambiguous. Current shells place it first; legacy shells * place it after the application root. Nested route-owned duplicates cannot * satisfy either ownership check. */ export declare function findServerHydrationDataElement(document: HydrationDataDocumentLike): HydrationDataElementLike | null; //# sourceMappingURL=hydration-data-element.d.ts.map