import type { Tool } from './types.js';
export declare const DEFAULT_BASH_TIMEOUT_MS = 120000;
export declare const MAX_BASH_TIMEOUT_MS = 1800000;
export declare const DEFAULT_BASH_MAX_OUTPUT_CHARS = 32000;
export declare const DEFAULT_BASH_MAX_OUTPUT_LINES = 400;
export declare function truncateBashOutput(raw: string, maxChars?: number, maxLines?: number): {
    output: string;
    truncated: boolean;
    omittedChars: number;
    omittedLines: number;
};
export declare function resolveBashTimeoutMs(input: Record<string, unknown>, env?: NodeJS.ProcessEnv): {
    timeoutMs: number;
    requestedMs?: number;
    capped: boolean;
};
export declare const BashTool: Tool;
