import type { SendTaskHeartbeatResponse } from "./service-client.js"; /** * Sends a heartbeat for the current task or to the provided task token. * * If called from outside of an {@link task}, the task token must be provided. * * If the task has a heartbeatTimeout set and the workflow has not received a heartbeat within the set duration, * the workflow will throw a {@link HeartbeatTimeout} and cancel the task. * * @returns {@link HeartbeatResponse} which has response.cancelled if the task was cancelled for any reason (ex: workflow succeeded, failed, or the task timed out). */ export declare function sendTaskHeartbeat(taskToken?: string): Promise; //# sourceMappingURL=heartbeat.d.ts.map