export declare const TOOL_NAME_VALIDITY_RULE = "^[a-zA-Z0-9_-]{1,64}$";
export declare function isValidProviderToolName(name: string): boolean;
export type McpIdTransform = {
    kind: 'prefix_add';
    add: string;
} | {
    kind: 'prefix_replace';
    remove: string;
    add: string;
} | {
    kind: 'suffix_add';
    add: string;
};
export declare function applyMcpIdTransforms(originalMcpId: string, transforms: readonly McpIdTransform[]): string;
export type ToolFilterDecision = {
    kind: 'accepted';
} | {
    kind: 'blacklisted';
    pattern: string;
} | {
    kind: 'not_whitelisted';
    pattern: string;
};
export type ToolFilterConfig = {
    whitelist: readonly string[];
    blacklist: readonly string[];
};
export declare function decideToolExposure(toolName: string, filters: ToolFilterConfig): ToolFilterDecision;
export declare function matchesWildcardPattern(name: string, pattern: string): boolean;
