Files
oh-my-openagent/dist/shared/pattern-matcher.d.ts
2026-03-14 04:56:50 +00:00

4 lines
316 B
TypeScript

import type { ClaudeHooksConfig, HookMatcher } from "../hooks/claude-code-hooks/types";
export declare function matchesToolMatcher(toolName: string, matcher: string): boolean;
export declare function findMatchingHooks(config: ClaudeHooksConfig, eventName: keyof ClaudeHooksConfig, toolName?: string): HookMatcher[];