export type CommandRule = { pattern: string; action: 'deny' | 'allow'; }; export type CommandDecision = { denied: false; } | { denied: true; pattern: string; }; export declare function evaluateCommand(command: string, rules: readonly CommandRule[]): CommandDecision;