/** 该 action 是否被 gate 登记(无论是否 enabled) */ export declare function isActionGated(toolName: string, action: string): boolean; /** 该 action 是否允许执行(gated 且未 opt-in 时返回 false) */ export declare function isActionAllowed(toolName: string, action: string, enabledGroups: string[]): boolean; /** * 解析当前启用的特权组。 * * 优先级:GODOT_MCP_PRIVILEGED_GROUPS env(逗号分隔组名,或 'all' 全开)。 * 未设 env 时返回空数组(所有 gated action 被拦截)。 */ export declare function resolveEnabledGroups(): string[]; /** * 获取 gate 状态(供 godot://capabilities 资源展示)。 * 返回每个组的 actions 列表 + enabled 状态。 */ export declare function getGateStatus(): Record;