import { z } from "zod"; export declare const EXPLANATION_SCHEMA_VERSION = 1; export declare const explanationKindSchema: z.ZodEnum<["impact", "context", "diff", "pr-narrative", "pr-checklist"]>; export declare const explanationSectionSchema: z.ZodObject<{ heading: z.ZodString; body: z.ZodDefault>; }, "strip", z.ZodTypeAny, { body: string[]; heading: string; }, { heading: string; body?: string[] | undefined; }>; export declare const explanationSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; id: z.ZodString; kind: z.ZodEnum<["impact", "context", "diff", "pr-narrative", "pr-checklist"]>; createdAt: z.ZodString; subject: z.ZodString; summary: z.ZodString; sections: z.ZodDefault>; }, "strip", z.ZodTypeAny, { body: string[]; heading: string; }, { heading: string; body?: string[] | undefined; }>, "many">>; sourceRefs: z.ZodDefault>; }, "strip", z.ZodTypeAny, { schemaVersion: 1; createdAt: string; id: string; summary: string; kind: "context" | "impact" | "diff" | "pr-narrative" | "pr-checklist"; sourceRefs: string[]; subject: string; sections: { body: string[]; heading: string; }[]; }, { schemaVersion: 1; createdAt: string; id: string; summary: string; kind: "context" | "impact" | "diff" | "pr-narrative" | "pr-checklist"; subject: string; sourceRefs?: string[] | undefined; sections?: { heading: string; body?: string[] | undefined; }[] | undefined; }>; export type ExplanationKind = z.infer; export type ExplanationSection = z.infer; export type Explanation = z.infer; export declare function parseExplanation(value: unknown): Explanation; export declare function renderExplanationMarkdown(explanation: Explanation): string; //# sourceMappingURL=explanation.d.ts.map