import { z } from 'zod'; import { CheerioAPI } from 'cheerio'; declare const CategoryNameSchema: z.ZodEnum<{ contentExtractability: "contentExtractability"; contentStructure: "contentStructure"; answerability: "answerability"; entityClarity: "entityClarity"; groundingSignals: "groundingSignals"; authorityContext: "authorityContext"; readabilityForCompression: "readabilityForCompression"; }>; declare const DomainSignalsSchema: z.ZodObject<{ signalsBase: z.ZodString; robotsTxt: z.ZodNullable; llmsTxtExists: z.ZodBoolean; llmsFullTxtExists: z.ZodBoolean; }, z.core.$strip>; declare const FactorResultSchema: z.ZodObject<{ name: z.ZodString; score: z.ZodNumber; maxScore: z.ZodNumber; value: z.ZodString; status: z.ZodEnum<{ good: "good"; needs_improvement: "needs_improvement"; critical: "critical"; neutral: "neutral"; }>; }, z.core.$strip>; declare const CategoryResultSchema: z.ZodObject<{ name: z.ZodString; key: z.ZodEnum<{ contentExtractability: "contentExtractability"; contentStructure: "contentStructure"; answerability: "answerability"; entityClarity: "entityClarity"; groundingSignals: "groundingSignals"; authorityContext: "authorityContext"; readabilityForCompression: "readabilityForCompression"; }>; score: z.ZodNumber; maxScore: z.ZodNumber; factors: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; declare const AuditResultSchema: z.ZodObject<{ categories: z.ZodRecord, z.ZodObject<{ name: z.ZodString; key: z.ZodEnum<{ contentExtractability: "contentExtractability"; contentStructure: "contentStructure"; answerability: "answerability"; entityClarity: "entityClarity"; groundingSignals: "groundingSignals"; authorityContext: "authorityContext"; readabilityForCompression: "readabilityForCompression"; }>; score: z.ZodNumber; maxScore: z.ZodNumber; factors: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; rawData: z.ZodObject<{ title: z.ZodString; metaDescription: z.ZodString; wordCount: z.ZodNumber; crawlerAccess: z.ZodOptional; blocked: z.ZodArray; unknown: z.ZodArray; partiallyBlocked: z.ZodOptional>; }, z.core.$strip>>; llmsTxt: z.ZodOptional>; sectionLengths: z.ZodOptional; }, z.core.$strip>>; answerCapsules: z.ZodOptional>; entities: z.ZodOptional; organizations: z.ZodArray; places: z.ZodArray; topics: z.ZodArray; imperativeVerbCount: z.ZodOptional; numberCount: z.ZodOptional; }, z.core.$strip>>; externalLinks: z.ZodOptional>>; structuredDataTypes: z.ZodOptional>; freshness: z.ZodOptional; modifiedDate: z.ZodNullable; ageInMonths: z.ZodNullable; hasModifiedDate: z.ZodBoolean; }, z.core.$strip>>; questionsFound: z.ZodOptional>; avgSentenceLength: z.ZodOptional; readabilityScore: z.ZodOptional; imageAccessibility: z.ZodOptional>; schemaCompleteness: z.ZodOptional; missing: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; entityConsistency: z.ZodOptional; surfacesFound: z.ZodNumber; surfacesChecked: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; type AuditResultType = z.infer; type CategoryNameType = z.infer; type CategoryResultType = z.infer; type DomainSignalsType = z.infer; type FactorResultType = z.infer; declare const CategoryWeightSchema: z.ZodDefault; contentStructure: z.ZodDefault; answerability: z.ZodDefault; entityClarity: z.ZodDefault; groundingSignals: z.ZodDefault; authorityContext: z.ZodDefault; readabilityForCompression: z.ZodDefault; }, z.core.$strip>>; declare const DiffEntrySchema: z.ZodObject<{ path: z.ZodString; timestamp: z.ZodString; score: z.ZodNumber; }, z.core.$strip>; declare const AiseoConfigSchema: z.ZodDefault; userAgent: z.ZodDefault; format: z.ZodDefault>; failUnder: z.ZodOptional; weights: z.ZodDefault; contentStructure: z.ZodDefault; answerability: z.ZodDefault; entityClarity: z.ZodDefault; groundingSignals: z.ZodDefault; authorityContext: z.ZodDefault; readabilityForCompression: z.ZodDefault; }, z.core.$strip>>; historyDir: z.ZodOptional; diff: z.ZodOptional>>>; }, z.core.$strip>>; type CategoryWeightType = z.infer; type DiffEntryType = z.infer; type AiseoConfigType = z.infer; declare const FetchResultSchema: z.ZodObject<{ url: z.ZodString; finalUrl: z.ZodString; statusCode: z.ZodNumber; contentType: z.ZodString; html: z.ZodString; byteLength: z.ZodNumber; fetchTimeMs: z.ZodNumber; redirected: z.ZodBoolean; }, z.core.$strip>; type FetchResultType = z.infer; declare const AnalyzerOptionsSchema: z.ZodObject<{ url: z.ZodString; signalsBase: z.ZodOptional; timeout: z.ZodDefault; userAgent: z.ZodDefault; }, z.core.$strip>; declare const AnalyzerResultSchema: z.ZodObject<{ url: z.ZodString; signalsBase: z.ZodString; analyzedAt: z.ZodString; overallScore: z.ZodNumber; grade: z.ZodString; totalPoints: z.ZodNumber; maxPoints: z.ZodNumber; categories: z.ZodRecord; score: z.ZodNumber; maxScore: z.ZodNumber; factors: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; recommendations: z.ZodArray; recommendation: z.ZodString; expectedGain: z.ZodOptional; steps: z.ZodOptional>; codeExample: z.ZodOptional; learnMoreUrl: z.ZodOptional; }, z.core.$strip>>; rawData: z.ZodObject<{ title: z.ZodString; metaDescription: z.ZodString; wordCount: z.ZodNumber; crawlerAccess: z.ZodOptional; blocked: z.ZodArray; unknown: z.ZodArray; partiallyBlocked: z.ZodOptional>; }, z.core.$strip>>; llmsTxt: z.ZodOptional>; sectionLengths: z.ZodOptional; }, z.core.$strip>>; answerCapsules: z.ZodOptional>; entities: z.ZodOptional; organizations: z.ZodArray; places: z.ZodArray; topics: z.ZodArray; imperativeVerbCount: z.ZodOptional; numberCount: z.ZodOptional; }, z.core.$strip>>; externalLinks: z.ZodOptional>>; structuredDataTypes: z.ZodOptional>; freshness: z.ZodOptional; modifiedDate: z.ZodNullable; ageInMonths: z.ZodNullable; hasModifiedDate: z.ZodBoolean; }, z.core.$strip>>; questionsFound: z.ZodOptional>; avgSentenceLength: z.ZodOptional; readabilityScore: z.ZodOptional; imageAccessibility: z.ZodOptional>; schemaCompleteness: z.ZodOptional; missing: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; entityConsistency: z.ZodOptional; surfacesFound: z.ZodNumber; surfacesChecked: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; meta: z.ZodObject<{ version: z.ZodString; analysisDurationMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; type AnalyzerOptionsType = z.input; type AnalyzerResultType = z.infer; declare function analyzeUrl(options: AnalyzerOptionsType, config: AiseoConfigType): Promise; declare function loadConfig(configPath?: string): Promise; declare const CategoryDeltaSchema: z.ZodObject<{ name: z.ZodString; currentScore: z.ZodNumber; baselineScore: z.ZodNumber; maxScore: z.ZodNumber; delta: z.ZodNumber; }, z.core.$strip>; declare const DiffResultSchema: z.ZodObject<{ url: z.ZodString; currentScore: z.ZodNumber; baselineScore: z.ZodNumber; overallDelta: z.ZodNumber; currentAnalyzedAt: z.ZodString; baselineAnalyzedAt: z.ZodString; categoryDeltas: z.ZodRecord>; }, z.core.$strip>; type CategoryDeltaType = z.infer; type DiffResultType = z.infer; declare function computeDiff(current: AnalyzerResultType, baseline: AnalyzerResultType): DiffResultType; declare const SitemapUrlResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"success">; result: z.ZodObject<{ url: z.ZodString; signalsBase: z.ZodString; analyzedAt: z.ZodString; overallScore: z.ZodNumber; grade: z.ZodString; totalPoints: z.ZodNumber; maxPoints: z.ZodNumber; categories: z.ZodRecord; score: z.ZodNumber; maxScore: z.ZodNumber; factors: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; recommendations: z.ZodArray; recommendation: z.ZodString; expectedGain: z.ZodOptional; steps: z.ZodOptional>; codeExample: z.ZodOptional; learnMoreUrl: z.ZodOptional; }, z.core.$strip>>; rawData: z.ZodObject<{ title: z.ZodString; metaDescription: z.ZodString; wordCount: z.ZodNumber; crawlerAccess: z.ZodOptional; blocked: z.ZodArray; unknown: z.ZodArray; partiallyBlocked: z.ZodOptional>; }, z.core.$strip>>; llmsTxt: z.ZodOptional>; sectionLengths: z.ZodOptional; }, z.core.$strip>>; answerCapsules: z.ZodOptional>; entities: z.ZodOptional; organizations: z.ZodArray; places: z.ZodArray; topics: z.ZodArray; imperativeVerbCount: z.ZodOptional; numberCount: z.ZodOptional; }, z.core.$strip>>; externalLinks: z.ZodOptional>>; structuredDataTypes: z.ZodOptional>; freshness: z.ZodOptional; modifiedDate: z.ZodNullable; ageInMonths: z.ZodNullable; hasModifiedDate: z.ZodBoolean; }, z.core.$strip>>; questionsFound: z.ZodOptional>; avgSentenceLength: z.ZodOptional; readabilityScore: z.ZodOptional; imageAccessibility: z.ZodOptional>; schemaCompleteness: z.ZodOptional; missing: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; entityConsistency: z.ZodOptional; surfacesFound: z.ZodNumber; surfacesChecked: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; meta: z.ZodObject<{ version: z.ZodString; analysisDurationMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"failed">; url: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; declare const SitemapResultSchema: z.ZodObject<{ sitemapUrl: z.ZodString; signalsBase: z.ZodString; analyzedAt: z.ZodString; totalUrls: z.ZodNumber; succeededCount: z.ZodNumber; failedCount: z.ZodNumber; averageScore: z.ZodNumber; averageGrade: z.ZodString; categoryAverages: z.ZodRecord>; urlResults: z.ZodArray; result: z.ZodObject<{ url: z.ZodString; signalsBase: z.ZodString; analyzedAt: z.ZodString; overallScore: z.ZodNumber; grade: z.ZodString; totalPoints: z.ZodNumber; maxPoints: z.ZodNumber; categories: z.ZodRecord; score: z.ZodNumber; maxScore: z.ZodNumber; factors: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; recommendations: z.ZodArray; recommendation: z.ZodString; expectedGain: z.ZodOptional; steps: z.ZodOptional>; codeExample: z.ZodOptional; learnMoreUrl: z.ZodOptional; }, z.core.$strip>>; rawData: z.ZodObject<{ title: z.ZodString; metaDescription: z.ZodString; wordCount: z.ZodNumber; crawlerAccess: z.ZodOptional; blocked: z.ZodArray; unknown: z.ZodArray; partiallyBlocked: z.ZodOptional>; }, z.core.$strip>>; llmsTxt: z.ZodOptional>; sectionLengths: z.ZodOptional; }, z.core.$strip>>; answerCapsules: z.ZodOptional>; entities: z.ZodOptional; organizations: z.ZodArray; places: z.ZodArray; topics: z.ZodArray; imperativeVerbCount: z.ZodOptional; numberCount: z.ZodOptional; }, z.core.$strip>>; externalLinks: z.ZodOptional>>; structuredDataTypes: z.ZodOptional>; freshness: z.ZodOptional; modifiedDate: z.ZodNullable; ageInMonths: z.ZodNullable; hasModifiedDate: z.ZodBoolean; }, z.core.$strip>>; questionsFound: z.ZodOptional>; avgSentenceLength: z.ZodOptional; readabilityScore: z.ZodOptional; imageAccessibility: z.ZodOptional>; schemaCompleteness: z.ZodOptional; missing: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; entityConsistency: z.ZodOptional; surfacesFound: z.ZodNumber; surfacesChecked: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; meta: z.ZodObject<{ version: z.ZodString; analysisDurationMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"failed">; url: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">>; meta: z.ZodObject<{ version: z.ZodString; analysisDurationMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; declare const SitemapOptionsSchema: z.ZodObject<{ sitemapUrl: z.ZodString; signalsBase: z.ZodOptional; timeout: z.ZodDefault; userAgent: z.ZodDefault; }, z.core.$strip>; type SitemapUrlResultType = z.infer; type SitemapResultType = z.infer; type SitemapOptionsType = z.input; declare const ReportFormatSchema: z.ZodEnum<{ json: "json"; md: "md"; html: "html"; pretty: "pretty"; }>; declare const RenderOptionsSchema: z.ZodObject<{ format: z.ZodDefault>; tldrOnly: z.ZodOptional; }, z.core.$strip>; type ReportFormatType = z.infer; type RenderOptionsType = z.infer; declare function renderReport(result: AnalyzerResultType, options: RenderOptionsType): string; declare function renderDiffReport(result: AnalyzerResultType, diff: DiffResultType, options: RenderOptionsType): string; declare function renderHistoryTimeline(diffMap: NonNullable, options: RenderOptionsType): string; declare function renderSitemapReport(result: SitemapResultType, options: RenderOptionsType): string; declare function analyzeSitemap(options: SitemapOptionsType, config: AiseoConfigType): Promise; declare const PageStatsSchema: z.ZodObject<{ wordCount: z.ZodNumber; sentenceCount: z.ZodNumber; paragraphCount: z.ZodNumber; headingCount: z.ZodNumber; h1Count: z.ZodNumber; h2Count: z.ZodNumber; h3Count: z.ZodNumber; linkCount: z.ZodNumber; externalLinkCount: z.ZodNumber; imageCount: z.ZodNumber; imagesWithAlt: z.ZodNumber; listCount: z.ZodNumber; listItemCount: z.ZodNumber; tableCount: z.ZodNumber; boilerplateRatio: z.ZodNumber; rawByteLength: z.ZodNumber; cleanTextLength: z.ZodNumber; }, z.core.$strip>; declare const ExtractedPageDataSchema: z.ZodObject<{ url: z.ZodString; html: z.ZodString; cleanText: z.ZodString; title: z.ZodString; metaDescription: z.ZodString; stats: z.ZodObject<{ wordCount: z.ZodNumber; sentenceCount: z.ZodNumber; paragraphCount: z.ZodNumber; headingCount: z.ZodNumber; h1Count: z.ZodNumber; h2Count: z.ZodNumber; h3Count: z.ZodNumber; linkCount: z.ZodNumber; externalLinkCount: z.ZodNumber; imageCount: z.ZodNumber; imagesWithAlt: z.ZodNumber; listCount: z.ZodNumber; listItemCount: z.ZodNumber; tableCount: z.ZodNumber; boilerplateRatio: z.ZodNumber; rawByteLength: z.ZodNumber; cleanTextLength: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; declare const ExternalLinkSchema: z.ZodObject<{ url: z.ZodString; text: z.ZodString; }, z.core.$strip>; type PageStatsType = z.infer; type ExtractedPageDataType = z.infer; type ExternalLinkType = z.infer; interface ExtractedPageType extends ExtractedPageDataType { $: CheerioAPI; externalLinks: ExternalLinkType[]; } declare const RecommendationSchema: z.ZodObject<{ category: z.ZodString; factor: z.ZodString; currentValue: z.ZodString; priority: z.ZodEnum<{ high: "high"; medium: "medium"; low: "low"; }>; recommendation: z.ZodString; expectedGain: z.ZodOptional; steps: z.ZodOptional>; codeExample: z.ZodOptional; learnMoreUrl: z.ZodOptional; }, z.core.$strip>; type RecommendationType = z.infer; declare const GradeSchema: z.ZodEnum<{ A: "A"; "A-": "A-"; "B+": "B+"; B: "B"; "B-": "B-"; "C+": "C+"; C: "C"; "C-": "C-"; "D+": "D+"; D: "D"; "D-": "D-"; F: "F"; }>; declare const ScoreSummarySchema: z.ZodObject<{ overallScore: z.ZodNumber; grade: z.ZodEnum<{ A: "A"; "A-": "A-"; "B+": "B+"; B: "B"; "B-": "B-"; "C+": "C+"; C: "C"; "C-": "C-"; "D+": "D+"; D: "D"; "D-": "D-"; F: "F"; }>; totalPoints: z.ZodNumber; maxPoints: z.ZodNumber; }, z.core.$strip>; type GradeType = z.infer; type ScoreSummaryType = z.infer; type FetchErrorCode = "TIMEOUT" | "DNS_FAILURE" | "CONNECTION_REFUSED" | "TLS_ERROR" | "TOO_LARGE" | "NETWORK_ERROR"; declare class FetchError extends Error { readonly code: FetchErrorCode; readonly url: string; constructor(code: FetchErrorCode, url: string, message: string); } export { type AiseoConfigType, type AnalyzerOptionsType, type AnalyzerResultType, type AuditResultType, type CategoryDeltaType, type CategoryNameType, type CategoryResultType, type CategoryWeightType, type DiffEntryType, type DiffResultType, type DomainSignalsType, type ExternalLinkType, type ExtractedPageType, type FactorResultType, FetchError, type FetchErrorCode, type FetchResultType, type GradeType, type PageStatsType, type RecommendationType, type RenderOptionsType, type ReportFormatType, type ScoreSummaryType, type SitemapOptionsType, type SitemapResultType, type SitemapUrlResultType, analyzeSitemap, analyzeUrl, computeDiff, loadConfig, renderDiffReport, renderHistoryTimeline, renderReport, renderSitemapReport };