export interface CategoryScore { name: string; score: number; passed_count: number; warning_count: number; error_count: number; } export interface SeoScore { overall: number; grade: string; categories: Record; } export interface Issue { id: string; category: string; severity: 'pass' | 'warning' | 'error' | 'notice'; title: string; message: string; recommendation: string; } export interface AuditResult { url: string; timestamp: string; score: SeoScore; stats: { total: number; passed: number; warnings: number; errors: number; }; meta: Record; content: Record; images: Record; technical: Record; performance: Record; issues: Issue[]; errors: Issue[]; warnings: Issue[]; passed: Issue[]; } export interface AuditorOptions { userAgent?: string; timeout?: number; } export class SEOAuditor { constructor(options?: AuditorOptions); audit(url: string): Promise; auditHtml(html: string, url?: string, options?: any): AuditResult; } export interface ClientOptions { apiKey?: string; baseUrl?: string; timeout?: number; } export class SeoWebCheckerClient { constructor(options?: ClientOptions); audit(url: string, options?: Record): Promise; getAudit(auditId: string): Promise; getHistory(limit?: number): Promise; } export function formatConsole(result: AuditResult, useColor?: boolean): string; export function formatMarkdown(result: AuditResult): string; export const version: string;