import { z } from 'zod'; import { type CanonicalIssueMarkdown } from './markdownDocument.js'; export declare const RawIssueCheckboxRowSchema: z.ZodObject<{ checked: z.ZodBoolean; marker: z.ZodString; body: z.ZodString; lineStart: z.ZodNumber; lineEnd: z.ZodNumber; sectionIndex: z.ZodNumber; sectionTitle: z.ZodString; }, z.core.$strip>; export declare const RawIssueSectionSchema: z.ZodObject<{ index: z.ZodNumber; level: z.ZodNumber; title: z.ZodString; normalizedTitle: z.ZodString; body: z.ZodString; lineStart: z.ZodNumber; lineEnd: z.ZodNumber; parentIndex: z.ZodNullable; checkboxRows: z.ZodArray>; }, z.core.$strip>; export declare const RawIssueMarkdownSchema: z.ZodObject<{ body: z.ZodString; preamble: z.ZodString; trailingNewline: z.ZodBoolean; title: z.ZodNullable>; sections: z.ZodArray; checkboxRows: z.ZodArray>; }, z.core.$strip>>; checkboxRows: z.ZodArray>; }, z.core.$strip>; export type RawIssueCheckboxRow = z.infer; export type RawIssueSection = z.infer; export type RawIssueMarkdown = z.infer; export declare function parseRawIssueMarkdown(body: string): RawIssueMarkdown; export declare function renderPresetCanonicalIssueMarkdown(issue: CanonicalIssueMarkdown, sectionOrder?: readonly string[]): string;