import type { UUID } from "@elizaos/core"; export interface AgentEventPayloadLike { runId: string; seq: number; stream: string; ts: number; data: Record; sessionKey?: string; agentId?: string; roomId?: UUID; } export interface HeartbeatEventPayloadLike { ts: number; status: string; to?: string; preview?: string; durationMs?: number; hasMedia?: boolean; reason?: string; channel?: string; silent?: boolean; indicatorType?: string; } export interface AgentEventServiceLike { subscribe: (listener: (event: AgentEventPayloadLike) => void) => () => void; subscribeHeartbeat: (listener: (event: HeartbeatEventPayloadLike) => void) => () => void; getLastHeartbeat?: () => HeartbeatEventPayloadLike | null; } type RuntimeWithServiceGetter = { getService: (serviceType: string) => unknown | null; }; export declare const AGENT_EVENT_SERVICE_TYPES: readonly ["agent_event", "AGENT_EVENT"]; export declare function getAgentEventService(runtime: RuntimeWithServiceGetter | null | undefined): AgentEventServiceLike | null; export {}; //# sourceMappingURL=agent-event-service.d.ts.map