type SemanticContent = { title: string; description?: string; keywords?: string[]; canonicalUrl?: string; ogTags?: Record; headings?: Array<{ level: number; text: string; }>; content?: string; jsonLd?: object[]; language?: string; }; type ContextData = { semantic: SemanticContent; html?: string; url: string; referrer?: string; extractedAt: number; }; type PageContextConfig = { includeHtml?: boolean; contentSelector?: string; maxContentLength?: number; maxHtmlLength?: number; }; declare function extractSemanticContent(config: PageContextConfig): SemanticContent; declare function extractContext(config: PageContextConfig): ContextData; declare function normalizeContextConfig(config: PageContextConfig | boolean | undefined): PageContextConfig | null; export type { SemanticContent, ContextData, PageContextConfig }; export { extractContext, extractSemanticContent, normalizeContextConfig };