import type { LoopAttentionEventV1, LoopStateV1, AttentionStatus } from "./domain.js"; export declare function buildAttentionEvent(state: LoopStateV1, status: AttentionStatus, session: LoopAttentionEventV1["session"], now: number): LoopAttentionEventV1; export declare function readHookPath(home?: string | undefined): Promise; export interface HookRunner { (path: string, input: string, timeoutMs: number): Promise; } export declare const nodeHookRunner: HookRunner; export declare function runAttentionHook(runner: HookRunner, path: string, event: LoopAttentionEventV1): Promise;