import { HeadingsExtractionResult } from './extractHeadings'; export type PageContextSource = 'cache' | 'index' | 'httpx' | 'firecrawl' | 'degraded'; export interface PageContextApiConfig { apiKey: string; apiBaseUrl: string; agentDisplayId?: string; publisherId?: string; } export interface PageContextResponse { context: HeadingsExtractionResult & { degraded?: boolean; }; source: PageContextSource; cache_hit: boolean; } export declare function fetchPageContext(url: string, config: PageContextApiConfig): Promise; //# sourceMappingURL=pageContextApi.d.ts.map