/** Does this host tool name address a Mnemonik MCP tool, proxied or direct? */ export declare function isMnemonikToolName(toolName: string | null | undefined): boolean; /** Is this exact direct name, or a configured server's Mnemonik namespace? */ export declare function isTrustedMnemonikToolName(toolName: string | null | undefined, cwd: string): boolean; /** * The bare Mnemonik method a host tool name addresses, or null when the name is * not ours. Host prefixes and any aggregator segments are stripped. */ export declare function mnemonikToolMethod(toolName: string | null | undefined): string | null; /** * Matcher fragment installed into this host's hook config for our own tools. * * An explicit contains-pattern rather than `mcp__mnemonik__.*`: the old prefix * form matched proxied names only by accident (`metamcp__` happens to end in * `mcp__`), so any aggregator not ending in "mcp" broke it. The leading `.*` also * keeps the value on the host's regex path — Claude Code compares a matcher made * only of word characters as an exact tool name, which would match nothing. */ export declare const MNEMONIK_TOOL_MATCHER = ".*mnemonik.*";