/** * Parsing + rendering for the driver-step prompt asset. The prompt lives * as a separate `.md` file so it diffs cleanly and can be tweaked * without touching code. */ import type { DriverHistoryEntry, DriverInvariantViolation, DriverProviderInput } from "../types.js"; export interface ParsedPrompt { system: string; userTemplate: string; } export declare function parsePromptFile(content: string): ParsedPrompt; export declare function formatHistory(history: ReadonlyArray): string; export declare function formatViolations(violations: ReadonlyArray): string; export declare function formatCandidates(candidates: ReadonlyArray<{ index: number; description: string; }>): string; export declare function renderUserPrompt(template: string, input: DriverProviderInput): string; export declare function stripCodeFence(s: string): string; export interface RawSuggestion { index: number; reasoning: string; confidence?: number; } export declare function parseSuggestion(content: string, candidateCount: number): RawSuggestion | null; //# sourceMappingURL=loader.d.ts.map