import { Tagged } from "@typed/context" import type { HydrationNode } from "./v2/hydration-template.js" /** * Used Internally to pass context down to components for hydration * @internal */ export type HydrateContext = { readonly where: HydrationNode // Used to match sibling components using many() to the correct elements readonly manyKey?: string /**@internal */ hydrate: boolean } /** * Used Internally to pass context down to components for hydration * @internal */ export const HydrateContext = Tagged("@typed/html/HydrateContext")