import type { HookEvent } from '@polyhook/sdk'; import type { CheckResult } from './check-result.js'; import type { HookSdk } from './hook-sdk.js'; /** * Runs the hook logic for a polyhook event. * @param event - The hook event received from the AI agent runtime. * @param sdk - The SDK helpers used to approve or block the tool call. * @returns The check result, so callers can set the process exit code. */ export declare function runHook(event: HookEvent, sdk: HookSdk): Promise; //# sourceMappingURL=run-hook.d.ts.map