/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import type { Config } from '../../config/config.js';
import type { ToolResponseBlock } from '../../services/history/IContent.js';
export interface ToolResponsePayload {
    status: 'success' | 'error';
    toolName?: string;
    result: string;
    error?: string;
    truncated?: boolean;
    originalLength?: number;
    limitMessage?: string;
}
export declare const EMPTY_TOOL_RESULT_PLACEHOLDER = "[no tool result]";
export declare function buildToolResponsePayload(block: ToolResponseBlock, config?: Config): ToolResponsePayload;
