type EventHandler = (...args: any[]) => any;
interface EventListener {
    handler: EventHandler;
    disposable: boolean;
}
interface InitConfigPayload {
}
interface RequestConfigResponse {
    token: string;
    domain: string;
    params?: Record<string, any>;
}
interface UploadFilePayload {
    file?: File;
    base64?: string;
}
interface StartLoadingPayload {
    botId: string;
}
interface ToggleConversationPayload {
    conversationId: string;
}
interface NewConversationCreatedPayload {
    conversationId: string;
}
interface RequestErrorPayload {
    code: number;
    msg: string;
}
export type { EventHandler, EventListener, InitConfigPayload, NewConversationCreatedPayload, RequestConfigResponse, RequestErrorPayload, StartLoadingPayload, ToggleConversationPayload, UploadFilePayload, };
