/** * Feedback Formatter * * Maps diagnostics to machine-actionable LSEFeedback with hints, * corrected examples, and schema context. Enables LLMs to self-correct * based on structured error information. */ import type { Diagnostic } from '../generation/diagnostics'; import type { SchemaLookup } from '../ir/types'; import type { LSEFeedback } from './types'; /** * Build structured feedback from diagnostics and optional schema context. * * @param input - The original input text * @param inputFormat - Format of the input * @param diagnostics - Error diagnostics from validation/parsing * @param schemaLookup - Optional schema lookup for generating hints and corrections * @param action - The attempted command action (if identifiable) */ export declare function buildFeedback(input: string, inputFormat: 'explicit' | 'json' | 'natural', diagnostics: readonly Diagnostic[], schemaLookup?: SchemaLookup, action?: string): LSEFeedback; //# sourceMappingURL=feedback-formatter.d.ts.map