//#region src/router/props-extractor.d.ts interface ServerSidePropsResult { props: Record; revalidate?: number; notFound?: boolean; redirect?: string; } interface MetadataResult { title?: string | { default?: string; template?: string; absolute?: string; }; description?: string; keywords?: string[]; openGraph?: { title?: string; description?: string; url?: string; siteName?: string; images?: Array; type?: string; }; twitter?: { card?: 'summary' | 'summary_large_image' | 'app' | 'player'; site?: string; creator?: string; title?: string; description?: string; images?: string[]; }; robots?: { index?: boolean; follow?: boolean; nocache?: boolean; }; icons?: { icon?: Array<{ url: string; type?: string; sizes?: string; rel?: string; }> | string | string[]; apple?: Array<{ url: string; sizes?: string; rel?: string; }> | string | string[]; other?: Array<{ url: string; rel?: string; type?: string; sizes?: string; color?: string; }>; }; manifest?: string; themeColor?: string | Array<{ color: string; media?: string; }>; appleWebApp?: { title?: string; statusBarStyle?: 'default' | 'black' | 'black-translucent'; capable?: boolean; }; viewport?: string; canonical?: string; alternates?: { canonical?: string; languages?: Record; types?: Record; }; } type StaticParamsResult = Array>; declare function extractServerProps(componentPath: string, params: Record, searchParams: Record): Promise; declare function extractMetadata(componentPath: string, params: Record, searchParams: Record): Promise; declare function extractStaticParams(componentPath: string): Promise; declare function hasServerSideDataFetching(componentPath: string): Promise; declare function extractServerPropsWithCache(componentPath: string, params: Record, searchParams: Record, cacheTime?: number): Promise; declare function clearPropsCache(): void; declare function clearPropsCacheForComponent(componentPath: string): void; //#endregion //#region src/types/server-config.d.ts interface ServerCSPConfig { scriptSrc?: string[]; styleSrc?: string[]; imgSrc?: string[]; fontSrc?: string[]; connectSrc?: string[]; defaultSrc?: string[]; workerSrc?: string[]; } interface ServerCacheControlConfig { routes: Record; } interface ServerConfig { csp?: ServerCSPConfig; cacheControl?: ServerCacheControlConfig; } //#endregion export { ServerSidePropsResult as a, clearPropsCacheForComponent as c, extractServerPropsWithCache as d, extractStaticParams as f, MetadataResult as i, extractMetadata as l, ServerCacheControlConfig as n, StaticParamsResult as o, hasServerSideDataFetching as p, ServerConfig as r, clearPropsCache as s, ServerCSPConfig as t, extractServerProps as u };