Files
oh-my-opencode/dist/hooks/claude-code-hooks/config-loader.d.ts
T
2026-03-14 04:56:50 +00:00

14 lines
529 B
TypeScript

import type { ClaudeHookEvent } from "./types";
export interface DisabledHooksConfig {
Stop?: string[];
PreToolUse?: string[];
PostToolUse?: string[];
UserPromptSubmit?: string[];
PreCompact?: string[];
}
export interface PluginExtendedConfig {
disabledHooks?: DisabledHooksConfig;
}
export declare function loadPluginExtendedConfig(): Promise<PluginExtendedConfig>;
export declare function isHookCommandDisabled(eventType: ClaudeHookEvent, command: string, config: PluginExtendedConfig | null): boolean;