/** * HTTP client for the Eliza Cloud Milady Sandbox API. */ export interface CloudAgent { id: string; agentName: string; status: string; databaseStatus: string; bridgeUrl?: string; lastBackupAt?: string; lastHeartbeatAt?: string; errorMessage?: string; errorCount?: number; createdAt: string; updatedAt: string; } export interface CloudAgentCreateParams { agentName: string; agentConfig?: Record; environmentVars?: Record; } export interface ProvisionInfo { id: string; agentName: string; status: string; bridgeUrl?: string; healthUrl?: string; } export interface BackupInfo { id: string; snapshotType: string; sizeBytes: number | null; createdAt: string; } export type ChatChannelType = "DM" | "GROUP" | "VOICE_DM" | "VOICE_GROUP" | "API"; export declare class ElizaCloudClient { private baseUrl; private apiKey; constructor(baseUrl: string, apiKey: string); listAgents(): Promise; createAgent(params: CloudAgentCreateParams): Promise; getAgent(agentId: string): Promise; deleteAgent(agentId: string): Promise; provision(agentId: string): Promise; sendMessage(agentId: string, text: string, roomId?: string, channelType?: ChatChannelType): Promise; sendMessageStream(agentId: string, text: string, roomId?: string, channelType?: ChatChannelType): AsyncGenerator<{ type: string; data: Record; }>; snapshot(agentId: string): Promise; listBackups(agentId: string): Promise; restore(agentId: string, backupId?: string): Promise; heartbeat(agentId: string): Promise; private request; } //# sourceMappingURL=bridge-client.d.ts.map