import { type BashExecutionState } from '../services/bash-executor.js';
import type { NanocoderToolExport } from '../types/core.js';
/**
 * Execute a bash command using the bash executor service.
 * This is the internal implementation used by both the tool and direct !command mode.
 *
 * @param command - The bash command to execute
 * @returns Object containing executionId and promise for the result
 */
export declare function executeBashCommand(command: string, options?: {
    timeoutMs?: number;
    signal?: AbortSignal;
}): {
    executionId: string;
    promise: Promise<BashExecutionState>;
};
/**
 * Format bash execution result for LLM context
 */
export declare function formatBashResultForLLM(result: BashExecutionState): string;
export declare const executeBashTool: NanocoderToolExport;
//# sourceMappingURL=execute-bash.d.ts.map