/** * Hook Intrinsic * Allows process files to call hooks directly */ import type { InternalProcessContext } from "../processContext"; import type { HookResult } from "../../hooks/types"; export interface HookIntrinsicOptions { /** * Optional label for this hook invocation (for journal/logging) */ label?: string; /** * Timeout in milliseconds (defaults to 30000) */ timeout?: number; /** * Whether to throw on hook failures (defaults to false) */ throwOnFailure?: boolean; } /** * Run a hook from within a process * This is exposed as ctx.hook() in process files */ export declare function runHookIntrinsic(hookType: string, payload: Record, context: InternalProcessContext, options?: HookIntrinsicOptions): Promise; //# sourceMappingURL=hook.d.ts.map