import type { LTEnvelope, LTReturn } from '../../../types';
import type { TriageResponseDeps } from './types';
export { parseTriageResponse, stripJsonComments } from './response-builders';
/**
 * Process the LLM's final response and route corrected data
 * back to the original workflow through the appropriate exit path.
 */
export declare function handleFinalResponse(content: string, envelope: LTEnvelope, toolCallCount: number, deps: TriageResponseDeps): Promise<LTReturn>;
