/** * Gemini TOML rule generation helpers. */ /** * Generate TOML rule for tool permissions. * * For allow rules that include run_shell_command, adds `allow_redirection = true` * to permit heredocs, pipes, and redirects. */ export declare function generateToolRule(toolNames: string[], decision: "allow" | "deny", priority: number): string; /** * Generate TOML rule for bash command patterns. * * For allow rules, includes `allow_redirection = true` to permit * heredocs, pipes, and redirects. Gemini CLI normally downgrades * ALLOW to ASK_USER (DENY in --yolo mode) when redirections detected. */ export declare function generateBashRule(patterns: string[], decision: "allow" | "deny", priority: number): string;