/** * Activity runtime helpers shared by every Op activity implementation, wherever * it lives — the base activities in the temporal lexicon and the cloud-specific * appliers relocated into the aws/gcp/azure lexicons. Hosting them in core keeps * a cloud lexicon from having to depend on the temporal lexicon just to * heartbeat or sleep. */ /** * Emit an activity heartbeat if running under a Temporal worker; otherwise no-op. * * The first call kicks off a one-time lazy load of `@temporalio/activity` and * returns immediately; once resolved, subsequent calls heartbeat. Heartbeats * are periodic (every ~15s, well inside the 60s heartbeat timeout), so the * single missed first tick is harmless. Under chant's local executor (no * Temporal SDK present) it no-ops, and the module imports cleanly without the SDK. */ export declare function safeHeartbeat(details?: unknown): void; /** * Sleep for `ms`, rejecting early if `signal` aborts. Polling activities use * this between attempts so a local-executor timeout or Ctrl-C interrupts the * wait instead of running it to completion. */ export declare function sleep(ms: number, signal?: AbortSignal): Promise; //# sourceMappingURL=activity-runtime.d.ts.map