/** * Convert a host tool name into a model-facing function name. * * We sanitise to the allowed function-name charset (rather than hashing to an opaque * `yt_`), so the model keeps the semantic signal of a readable name — e.g. * `orders.list` → `orders_list`. * * This is a pure per-name transform; uniqueness across a manifest (and avoiding the * reserved `redirect` name / `mcp__` namespace) is handled by the caller via * {@link uniqueToolId}. Each runtime (the chat-ui iframe and this SDK's voice session) * decorates and reverse-maps with its own manifest, so the ids never need to match * across paths — only to be self-consistent within one. */ export declare function generateToolId(originalName: string): string; /** * Resolve a collision-free, model-safe id for a host tool name, given the ids already * taken in this manifest (seed `used` with reserved names like `redirect`). Host ids must * never start with the `mcp__` namespace, which the dispatcher routes on. */ export declare function uniqueToolId(originalName: string, used: Set): string; //# sourceMappingURL=tool-name.d.ts.map