export declare function mapsToOpenCodeEditPermission(tool: string): boolean; export declare function keepsOpenCodeAllowedToolWithoutEdit(tool: string): boolean; /** * Convert the common MCP tool spelling into OpenCode's normalized * `_` permission name. Only the provider-facing name changes; * which MCP tools are trusted is decided before reaching this helper. */ export declare function toOpenCodeMcpToolName(tool: string): string | undefined; /** * Permission that allows every tool of one MCP server. The server name is used * as-is (never re-parsed from a `mcp__` string) so names containing `__` * or ending in `_` still select exactly their own tools. */ export declare function toOpenCodeMcpServerPermission(serverName: string): string; //# sourceMappingURL=allowedTools.d.ts.map