/**
 * Heartbeat context for current-node tracking.
 *
 * The worker sets the context (runId + repository), and node-helpers
 * call reportNodeStart() to update the DB with the current node name.
 * This is a module-level singleton since only one worker runs per process.
 */
import type { IAgentRunRepository } from '../../../../application/ports/output/agents/agent-run-repository.interface.js';
/**
 * Set the heartbeat context. Called once by the worker after DI init.
 */
export declare function setHeartbeatContext(runId: string, repository: IAgentRunRepository): void;
/**
 * Report that a graph node has started executing.
 * Updates the run record with the current node name and a fresh heartbeat.
 * Non-blocking: errors are swallowed so graph execution is not affected.
 */
export declare function reportNodeStart(nodeName: string): void;
//# sourceMappingURL=heartbeat.d.ts.map