import type { Backend } from '../types.js'; export type CanonicalToolName = 'bash' | 'read' | 'write' | 'edit' | 'grep' | 'glob' | 'web_fetch' | 'web_search' | 'ask_user_question' | 'enter_plan_mode' | 'exit_plan_mode' | 'todo_write' | 'skill' | 'agent'; /** Translate a backend-native tool name to canonical. MCP tools (mcp__ prefix) pass through unchanged. */ export declare function toCanonical(backend: Backend, nativeName: string): CanonicalToolName | string | null; /** Translate a canonical name to the backend-native tool name. MCP tools pass through unchanged. Returns null if backend lacks the tool. */ export declare function fromCanonical(backend: Backend, canonical: string): string | null;