interface CopilotMessageView { id: string; role: string; content: string; createdAt?: string; metadata?: Record | null; } interface CopilotConversationView { conversation: { id: string; agentId: string; accountId?: string | null; channel: string; messageCount: number; createdAt?: string; updatedAt?: string; }; messages: CopilotMessageView[]; } export interface WorkforceConversationTurnResult { sessionId: string; agentId: string; reply: string; messageIds: string[]; tools: string[]; persisted: boolean; messageCount: number; executionId: string; imageDocumentId: string | null; audioDocumentId: string | null; } export declare function converseWorkforceTaskRemote(options: { targetOrg: string; agentId: string; input: string; sessionId?: string; accountId?: string; browserContext?: unknown; imageDocumentId?: string; audioDocumentId?: string; imageFile?: string; audioFile?: string; }): Promise; export declare function getWorkforceConversationRemote(options: { targetOrg: string; sessionId: string; }): Promise; export declare function endWorkforceConversationRemote(options: { targetOrg: string; sessionId: string; }): Promise<{ written: boolean; accountName?: string | null; reason?: string | null; }>; export declare function listWorkforceConversationsRemote(options: { targetOrg: string; agentId?: string; accountId?: string; query?: string; limit?: number; }): Promise<{ items: CopilotConversationView['conversation'][]; }>; export {};