interface ModeInfo {
    id: CodeExecutionMode;
    name: string;
    description: string;
}
declare const CODE_EXECUTION_MODES: readonly ["default", "acceptEdits", "plan", "bypassPermissions"];
type CodeExecutionMode = (typeof CODE_EXECUTION_MODES)[number];
declare function getAvailableModes(): ModeInfo[];

declare const READ_TOOLS: Set<string>;
declare const WRITE_TOOLS: Set<string>;
declare const BASH_TOOLS: Set<string>;
declare const SEARCH_TOOLS: Set<string>;
declare const WEB_TOOLS: Set<string>;
declare const AGENT_TOOLS: Set<string>;
declare function isToolAllowedForMode(toolName: string, mode: CodeExecutionMode): boolean;

export { AGENT_TOOLS, BASH_TOOLS, CODE_EXECUTION_MODES, type CodeExecutionMode, type ModeInfo, READ_TOOLS, SEARCH_TOOLS, WEB_TOOLS, WRITE_TOOLS, getAvailableModes, isToolAllowedForMode };
