import type { ToolResult } from '../types/index.js';
type MalformedOutputCode = 'OBJECT_OBJECT' | 'OBJECT_PROMISE';
interface MalformedOutputIssue {
    code: MalformedOutputCode;
    pattern: string;
    contentIndex: number;
}
export declare function findMalformedToolOutput(result: ToolResult): MalformedOutputIssue | null;
export declare function guardToolResultOutput(toolName: string | undefined, result: ToolResult): ToolResult;
export {};
//# sourceMappingURL=output-integrity-guard.d.ts.map