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