import { ExecResult, ExecContext } from '../../cli/commands/exec/types.cjs'; interface ExecuteCommandOptions { command: string; shell?: string; cwd?: string; timeout?: number; dryRun?: boolean; interactive?: boolean; copyCommand?: boolean; } declare function executeCommand(options: ExecuteCommandOptions): Promise; declare function formatExecutionResult(result: ExecResult): string; declare function generateCommandContext(): Promise; declare function copyToClipboard(text: string): Promise; declare function sanitizeCommandOutput(output: string, options?: { maxLength?: number; removeAnsi?: boolean; extractCodeBlock?: boolean; }): string; declare function isPotentiallyDangerousCommand(command: string): boolean; export { type ExecuteCommandOptions, copyToClipboard, executeCommand, formatExecutionResult, generateCommandContext, isPotentiallyDangerousCommand, sanitizeCommandOutput };