import type { DefineAgentOptions, AgentHandle } from './types.js'; export declare function toMs(v: number | string | undefined, fallback: number): number; /** * Register a local runtime with the Decibel daemon: it appears on HQ's /agents * board tagged with `runtime`, heartbeats presence, and (if onCommand is given) * receives + acks HQ commands. Returns a handle with stop(). Idempotent per * sessionKey. Never throws from the loops — transient daemon/network errors are * logged and retried on the next tick. */ export declare function defineAgent(opts: DefineAgentOptions): Promise; //# sourceMappingURL=defineAgent.d.ts.map