import type { AstroComponentMetadata, SSRElement, SSRLoadedRenderer, SSRResult } from '../../@types/astro'; export interface HydrationMetadata { directive: string; value: string; componentUrl: string; componentExport: { value: string; }; } interface ExtractedProps { isPage: boolean; hydration: HydrationMetadata | null; props: Record; } export declare function extractDirectives(inputProps: Record, clientDirectives: SSRResult['clientDirectives']): ExtractedProps; interface HydrateScriptOptions { renderer: SSRLoadedRenderer; result: SSRResult; astroId: string; props: Record; attrs: Record | undefined; } /** For hydrated components, generate a