/**
 * Permission management commands for controlling agent access boundaries.
 *
 * Implements `agents permissions` -- list, add, remove, and view permission
 * sets (allow/deny rules for bash, tools, and filesystem). Supports importing
 * from agent config files, GitHub repos, and YAML, with merge/replace
 * semantics and multi-version targeting.
 */
import type { Command } from 'commander';
import { discoverPermissionsFromRepo } from '../lib/permissions.js';
export declare function shouldRefuseBroadPermissions(permissions: ReturnType<typeof discoverPermissionsFromRepo>, allowBroadPermissions: boolean): boolean;
/** Register the `agents permissions` command tree (list, add, remove, view). */
export declare function registerPermissionsCommands(program: Command): void;
