import type { Message } from "@earendil-works/pi-ai";
export declare const TOOL_RESULT_PLACEHOLDER = "Tool output unavailable (context compacted)";
/** Repairs orphaned tool results and dangling tool calls. */
export declare function repairOrphanedToolResults(messages: Message[]): Message[];
//# sourceMappingURL=repair-tool-pairs.d.ts.map