import { ChatMessage, ChatMessageResponse, PresenceResponse, RoomResponse } from '../../lib/index';
import { GetMessagesOptions } from './models';
export default class {
    private static listeners;
    static updateStatus(state: string, status: string): Promise<boolean>;
    static rooms(): Promise<import("./models").ChatRoomType[]>;
    static messages(options: GetMessagesOptions): Promise<import("./models").ChatMessageListResponse>;
    static roomMessages(roomUUID: string, options?: GetMessagesOptions): Promise<ChatMessage[]>;
    static createRoom(name: string, targetUserUuid: string, workano_uuid: string): Promise<import("./models").ChatRoomType>;
    static sendMessage(name: string, targetRoomUuid: string, text: string): Promise<ChatMessage>;
    static uploadFile(roomUuid: string, file: File): Promise<{
        fileName: string;
        uuid: string;
    }>;
    static download(roomUuid: string, fileUuid: string): Promise<Blob>;
    static onNewRoom(listener: ({ data }: {
        data: RoomResponse;
    }) => void): void;
    static onNewMessage(listener: ({ data }: {
        data: ChatMessageResponse;
    }) => void): void;
    static onPresenceChanged(listener: ({ data }: {
        data: PresenceResponse;
    }) => void): void;
    static onLineStateChanged(listener: ({ data, }: {
        data: {
            registered: boolean;
            id: number;
            [key: string]: any;
        };
    }) => void): void;
    static off(): void;
}
//# sourceMappingURL=index.d.ts.map