/**
 * Tool filtering utilities with wildcard and pattern support
 */
export interface ToolPattern {
    pattern: string;
    regex: RegExp;
}
/**
 * Parse tool patterns from a string (comma or space separated)
 * Supports wildcards (*) and specific patterns like "Bash(git:*)"
 */
export declare function parseToolPatterns(input: string | undefined): ToolPattern[];
/**
 * Check if a tool name matches any of the patterns
 */
export declare function matchesPattern(toolName: string, patterns: ToolPattern[]): boolean;
/**
 * Filter tool list based on allowed and disallowed patterns
 * Disallowed patterns take precedence over allowed patterns
 */
export declare function filterTools(tools: string[], allowedPatterns: ToolPattern[], disallowedPatterns: ToolPattern[]): string[];
/**
 * Create a tool filter function for use in tool registries
 */
export declare function createToolFilter(allowedInput?: string, disallowedInput?: string): (toolName: string) => boolean;
/**
 * Examples of supported patterns:
 * - "mcp__*" - All MCP tools
 * - "mcp__filesystem__*" - All filesystem MCP tools
 * - "Bash" - Exact match for Bash tool
 * - "Bash(git:*)" - Bash tool with git commands (if supported by tool)
 * - "Edit,Read" - Multiple specific tools
 * - "mcp__* Edit Read" - Mix of wildcards and specific tools
 */ 
//# sourceMappingURL=tool-filter.d.ts.map