/** * Shell Command Gate * * Evaluates shell commands before execution, blocking dangerous operations. */ import type { GatePolicy, GateResult, ShellExecOptions, CommandResult } from './types.js'; export declare class ShellGate { private policy; constructor(policy: GatePolicy); /** * Execute a shell command through the gate. * Evaluates consequences first, then executes if allowed. */ exec(command: string, options?: ShellExecOptions): Promise>; /** * Evaluate a command without executing it. * Useful for preview/dry-run scenarios. */ evaluate(command: string, cwd?: string): Promise; private shouldEscalate; private shouldExecute; private runCommand; } //# sourceMappingURL=shell.d.ts.map