import { Page } from 'playwright'; export interface SearchResultPattern { selector: string; type: 'news' | 'bio' | 'product' | 'video' | 'generic'; confidence: number; sampleTexts: string[]; characteristics: { hasDate?: boolean; hasAuthor?: boolean; hasSource?: boolean; hasPrice?: boolean; hasDuration?: boolean; isTopResult?: boolean; containerClass?: string; }; } export declare class SearchResultAnalyzer { private page; constructor(page: Page); analyzeSearchResults(): Promise<{ patterns: SearchResultPattern[]; recommendations: string[]; }>; private analyzeElements; private determineResultType; private calculateConfidence; private generateRecommendations; }