/** * Filter helpers shared by every server factory. * * Skill-level allow-listing reuses `filterToolsByName`. The signature * intentionally accepts `null` as "no filter" so callers can pass * untreated input from configuration. */ import type { SdkMcpToolDefinition } from '@anthropic-ai/claude-agent-sdk'; /** * Return only the tools whose `name` is in `names`. `null` disables * filtering. Logs a warning when a name in the list does not match any * registered tool — typically a typo in skill metadata. */ export declare function filterToolsByName>(tools: T[], names: readonly string[] | null): T[];