/**
 * Bash Classifier — CC yoloClassifier bash branch parity.
 *
 * Specialized classifier for shell/bash commands.
 * CC decomposes each bash tool call into structured analysis:
 *   1. Parse the command string
 *   2. Check against known safe/dangerous command patterns
 *   3. Check working directory context
 *   4. If ambiguous, defer to the LLM classifier
 *
 * This is a pre-filter that runs BEFORE the general classifier,
 * so commonly-used safe shell commands bypass the LLM entirely.
 *
 * Reference: claude-code src/utils/permissions/yoloClassifier.ts (bash branch)
 */
export interface BashClassifyResult {
    decision: "allow" | "deny" | "defer";
    reason: string;
    /** Informational warning for destructive commands (CC parity). */
    destructiveWarning?: string;
}
/**
 * Classify a bash/shell command for safety.
 *
 * @param command - The shell command string
 * @param cwd - Current working directory (for project context check)
 * @param projectRoot - Project root directory
 * @returns Classification result: allow / deny / defer (to LLM classifier)
 */
export declare function classifyBashCommand(command: string, cwd?: string, projectRoot?: string): BashClassifyResult;
