import type { Hook } from "#compiled/@workflow/core/index.js"; export declare function claimHookOwnership(hook: Hook): Promise; export declare function closeHookIterator(iterator: AsyncIterator): Promise; export declare function disposeHook(hook: { dispose?: () => unknown; [Symbol.dispose]?: () => unknown; }): Promise; /** Recognizes hook conflicts across current and legacy Workflow World implementations. */ export declare function isHookConflictError(error: unknown): error is { readonly conflictingRunId?: unknown; readonly name: "HookConflictError"; readonly token?: unknown; };