export interface ChannelMessagePayload { type: 'channel_message'; trace_id?: string; channel: string; jid: string; agent_id: string; task_id?: string; thread_id?: string; sender?: string; sender_name?: string; content: string; timestamp?: string; id?: string; metadata?: Record; } export interface ChannelReplyStartPayload { type: 'channel_reply_start'; trace_id?: string; channel: string; jid: string; request_id: string; content: string; } export interface ChannelReplyStartedPayload { type: 'channel_reply_started'; request_id: string; reply_handle: string; trace_id?: string; } export interface ChannelReplyUpdatePayload { type: 'channel_reply_update'; trace_id?: string; reply_handle: string; content: string; } export interface ChannelReplyFinalizePayload { type: 'channel_reply_finalize'; trace_id?: string; reply_handle: string; } export interface ChannelReplyErrorPayload { type: 'channel_reply_error'; trace_id?: string; reply_handle: string; content: string; } export interface GatewayTraceEventPayload { type: 'trace_event'; trace_id: string; kind: string; message: string; level?: 'info' | 'warn' | 'error'; channel?: string; jid?: string; agent_id?: string; daemon_id?: string; details?: Record; } export interface GatewayUsageReportPayload { type: 'usage_report'; token?: string | null; agent_id?: string; thread_id?: string; model?: string; provider?: string; input_tokens: number; output_tokens: number; cost_usd?: number; timestamp?: string; } export interface GatewayCommandDefinitionPayload { command: string; description?: string; argumentHint?: string; kind?: 'builtin' | 'external'; skillName?: string; pluginName?: string; } //# sourceMappingURL=gateway-protocol.d.ts.map