import { type JsonSchemaIssue } from '../../shared/json-schema-mini.js'; export type OpenSpecRenderTaskSection = { heading: string; todos: string[]; doneItems?: string[]; }; export type OpenSpecRenderRequest = { changeId: string; why: string; whatChanges: string[]; acceptanceCriteria: string[]; outOfScope?: string[]; dependencies?: string[]; risks?: string[]; tasks?: OpenSpecRenderTaskSection[]; design?: string; }; export type OpenSpecRenderedFile = { path: string; content: string; }; export type OpenSpecRenderResult = { changeId: string; changeRoot: string; files: OpenSpecRenderedFile[]; applied: boolean; }; export type OpenSpecRenderOptions = { openspecRoot?: string; apply?: boolean; overwrite?: boolean; schemaPath?: string; }; export declare class OpenSpecRenderRequestInvalidError extends Error { readonly issues: JsonSchemaIssue[]; constructor(issues: JsonSchemaIssue[]); } export declare function renderOpenSpecChange(request: OpenSpecRenderRequest, options?: OpenSpecRenderOptions): Promise;