import { z } from "zod"; declare const manifestSchema: z.ZodObject<{ domain: z.ZodString; verdict: z.ZodEnum<{ ready: "ready"; concerning: "concerning"; critical: "critical"; caution: "caution"; }>; categories: z.ZodObject<{ integrity: z.ZodEnum<{ A: "A"; B: "B"; C: "C"; D: "D"; F: "F"; }>; discoverability: z.ZodEnum<{ A: "A"; B: "B"; C: "C"; D: "D"; F: "F"; }>; citation: z.ZodEnum<{ A: "A"; B: "B"; C: "C"; D: "D"; F: "F"; }>; data: z.ZodEnum<{ A: "A"; B: "B"; C: "C"; D: "D"; F: "F"; }>; }, z.core.$strip>; templates: z.ZodArray; before: z.ZodString; after: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rewrite_meta">; field: z.ZodEnum<{ title: "title"; description: "description"; }>; before: z.ZodString; after: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"add_jsonld">; block: z.ZodRecord; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"add_faq_block">; html: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rewrite_intro">; before: z.ZodString; after: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"add_internal_link">; from: z.ZodString; to: z.ZodString; anchor: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"remove_thin_block">; selector: z.ZodString; reason: z.ZodString; }, z.core.$strip>], "type">>; }, z.core.$strip>>; rationale: z.ZodString; }, z.core.$strip>>; pages: z.ZodArray; before: z.ZodString; after: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rewrite_meta">; field: z.ZodEnum<{ title: "title"; description: "description"; }>; before: z.ZodString; after: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"add_jsonld">; block: z.ZodRecord; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"add_faq_block">; html: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rewrite_intro">; before: z.ZodString; after: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"add_internal_link">; from: z.ZodString; to: z.ZodString; anchor: z.ZodString; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"remove_thin_block">; selector: z.ZodString; reason: z.ZodString; }, z.core.$strip>], "type">>; }, z.core.$strip>>; domainLevel: z.ZodArray; before: z.ZodNullable; after: z.ZodString; reason: z.ZodString; }, z.core.$strip>>; summary: z.ZodOptional; }, z.core.$strip>; export type FixManifest = z.infer; /** * Terminal tool. The orchestrator MUST call this to close out the session; * the runner detects the call and stops the LLM loop. Validation happens * via Zod at the tool boundary — a malformed manifest produces an * OUTPUT_VALIDATION error and the LLM gets to retry within budget. * * The execute() body is a no-op acknowledgement; the runner pulls the * manifest from the input arg, not the return value. We still emit * `accepted: true` as the tool result so the LLM gets confirmation. */ export declare const finishAuditTool: { name: string; description: string; inputSchema: z.ZodType<{ manifest: { domain: string; verdict: "ready" | "concerning" | "critical" | "caution"; categories: { integrity: "A" | "B" | "C" | "D" | "F"; discoverability: "A" | "B" | "C" | "D" | "F"; citation: "A" | "B" | "C" | "D" | "F"; data: "A" | "B" | "C" | "D" | "F"; }; templates: { templateId: string; affectedUrlCount: number; recommendation: string; examples: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; rationale: string; }[]; pages: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; domainLevel: { type: "robots_txt" | "sitemap_xml" | "canonical_strategy"; before: string | null; after: string; reason: string; }[]; summary?: string | undefined; }; }, unknown, z.core.$ZodTypeInternals<{ manifest: { domain: string; verdict: "ready" | "concerning" | "critical" | "caution"; categories: { integrity: "A" | "B" | "C" | "D" | "F"; discoverability: "A" | "B" | "C" | "D" | "F"; citation: "A" | "B" | "C" | "D" | "F"; data: "A" | "B" | "C" | "D" | "F"; }; templates: { templateId: string; affectedUrlCount: number; recommendation: string; examples: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; rationale: string; }[]; pages: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; domainLevel: { type: "robots_txt" | "sitemap_xml" | "canonical_strategy"; before: string | null; after: string; reason: string; }[]; summary?: string | undefined; }; }, unknown>>; outputSchema: z.ZodType<{ accepted: true; }, unknown, z.core.$ZodTypeInternals<{ accepted: true; }, unknown>>; toAiTool(): import("ai").Tool<{ manifest: { domain: string; verdict: "ready" | "concerning" | "critical" | "caution"; categories: { integrity: "A" | "B" | "C" | "D" | "F"; discoverability: "A" | "B" | "C" | "D" | "F"; citation: "A" | "B" | "C" | "D" | "F"; data: "A" | "B" | "C" | "D" | "F"; }; templates: { templateId: string; affectedUrlCount: number; recommendation: string; examples: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; rationale: string; }[]; pages: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; domainLevel: { type: "robots_txt" | "sitemap_xml" | "canonical_strategy"; before: string | null; after: string; reason: string; }[]; summary?: string | undefined; }; }, import("../tools/types.js").ToolResult<{ accepted: true; }>>; run(input: { manifest: { domain: string; verdict: "ready" | "concerning" | "critical" | "caution"; categories: { integrity: "A" | "B" | "C" | "D" | "F"; discoverability: "A" | "B" | "C" | "D" | "F"; citation: "A" | "B" | "C" | "D" | "F"; data: "A" | "B" | "C" | "D" | "F"; }; templates: { templateId: string; affectedUrlCount: number; recommendation: string; examples: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; rationale: string; }[]; pages: { url: string; changes: ({ type: "replace_h1"; before: string; after: string; reason: string; } | { type: "rewrite_meta"; field: "title" | "description"; before: string; after: string; reason: string; } | { type: "add_jsonld"; block: Record; reason: string; } | { type: "add_faq_block"; html: string; reason: string; } | { type: "rewrite_intro"; before: string; after: string; reason: string; } | { type: "add_internal_link"; from: string; to: string; anchor: string; reason: string; } | { type: "remove_thin_block"; selector: string; reason: string; })[]; }[]; domainLevel: { type: "robots_txt" | "sitemap_xml" | "canonical_strategy"; before: string | null; after: string; reason: string; }[]; summary?: string | undefined; }; }, ctx?: import("../tools/types.js").ToolExecuteContext): Promise>; }; export { manifestSchema }; //# sourceMappingURL=finish-tool.d.ts.map