import type { MossAgent } from '../core/agent/moss-agent.js'; export interface ChannelMessage { id: string; senderId: string; senderName?: string; text: string; timestamp: number; attachments?: Array<{ type: 'image' | 'video' | 'file'; url?: string; localPath?: string; }>; } export interface ChannelResponse { text: string; mediaFiles?: string[]; } export interface MessageChannel { readonly id: string; readonly displayName: string; start(): Promise; stop(): Promise; isRunning(): boolean; onMessage(handler: (msg: ChannelMessage) => Promise): void; } export interface BridgeAgentToChannelOptions { chatTimeoutMs?: number; maxSessionQueues?: number; onQueueOverflow?: (event: { channelId: string; sessionKey: string; queueSize: number; maxSessionQueues: number; }) => void; } export declare function bridgeAgentToChannel(agent: MossAgent, channel: MessageChannel, options?: BridgeAgentToChannelOptions): void; //# sourceMappingURL=channel.d.ts.map