export declare function generateToken(appId: string, appCertificate: string, channelName: string, uid: number, expirationSeconds?: number): string; export interface StartAgentConfig { appId: string; appCertificate: string; customerId: string; customerSecret: string; region?: string; channel: string; agentUid?: number; clientUid: number; llm: { vendor?: string; model?: string; apiKey?: string; url?: string; style?: string; }; tts: { vendor?: string; apiKey?: string; }; asr?: { vendor?: string; language?: string; }; greeting?: string; } export interface StartAgentResult { agentId: string; appId: string; channel: string; token: string; uid: number; } export declare function startAgent(config: StartAgentConfig): Promise; export declare function stopAgent(appId: string, agentId: string, customerId: string, customerSecret: string, region?: string): Promise; export interface HistoryEntry { role: string; content: string; timestamp?: number; } export declare function getHistory(appId: string, agentId: string, customerId: string, customerSecret: string, region?: string): Promise;