import type { HookOutput } from "oh-my-plumb-schema"; export type HookName = "session-start" | "turn-start" | "pre-tool-use" | "post-tool-use" | "stop"; /** * Every hook goes through here: parse what we can, never throw, and leave * within the budget whatever else is going on. The deadline exits the * process rather than resolving a promise, because a promise cannot interrupt * work that is still running, and an open handle would keep us alive after it. */ export declare const runHook: (name: HookName, handler: (raw: unknown) => Promise, budgetMs: number) => Promise; //# sourceMappingURL=hookRunner.d.ts.map