Files
oh-my-opencode/dist/shared/pattern-matcher.d.ts
T

4 lines
316 B
TypeScript
Raw Normal View History

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[];