/** * Runtime hook integration helpers * * Provides safe hook calling with error handling for SDK runtime. * Hook failures are logged but do not break orchestration. */ import type { HookType, HookResult } from "../../hooks/types"; export interface RuntimeHookOptions { cwd: string; timeout?: number; logger?: (message: string) => void; } /** * Safely call a hook from SDK runtime with error handling. * * Hook failures are logged but do not throw - orchestration continues. * * @param hookType - The type of hook to call * @param payload - The hook payload * @param options - Runtime options (cwd, timeout, logger) * @returns HookResult with execution details */ export declare function callRuntimeHook(hookType: HookType, payload: Record, options: RuntimeHookOptions): Promise; export declare function assertRuntimeHookAllowed(result: HookResult, hookType: HookType): void; /** * Create a hook payload with automatic timestamp. */ export declare function createRuntimeHookPayload>(hookType: HookType, data: T): T & { hookType: HookType; timestamp: string; }; //# sourceMappingURL=runtime.d.ts.map