import type { QueryContext } from '../dhf/query-engine.js'; import type { DhfDocumentType } from '../dhf/document-registry.js'; import type { DhfDocument } from '../dhf/document-ir.js'; import type { LLMProvider } from './llm-provider.js'; /** Options for DHF draft generation */ export interface DraftOptions { /** Target document type */ documentType: DhfDocumentType; /** Existing compiled document (if available) — used to identify gaps */ existingDocument?: DhfDocument; /** Specific section IDs to draft (default: all gap sections) */ targetSections?: string[]; } /** Result of a DHF draft operation */ export interface DraftResult { /** The document with LLM-drafted content merged in */ document: DhfDocument; /** Sections that were drafted by LLM */ draftedSections: string[]; /** Summary of what was generated */ summary: string; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; }; } /** * Draft DHF document sections using LLM. */ export declare function draftDocument(ctx: QueryContext, provider: LLMProvider, options: DraftOptions): Promise; //# sourceMappingURL=draft-engine.d.ts.map