import { CometChat, CometChatNotifications } from "@cometchat/chat-sdk-javascript";
declare let appID: string;
declare let appRegion: string;
declare let authKey: string;
export interface VcbData {
    appID?: string;
    appRegion?: string;
    authKey?: string;
    variantID?: string;
    targetElementID?: string;
    isDocked?: boolean;
    height?: string;
    width?: string;
    chatType?: string;
    defaultChatID?: string;
    theme?: string;
    dockedAlignment?: string;
    isAIAgentView?: boolean;
    aiAssistantTools?: any;
    showDockedUnreadCount?: boolean;
    showGroupActionMessages?: boolean;
    storageMode?: string;
    callInitiatedViaAPI?: boolean;
    autoOpenFirstItem?: boolean;
}
export declare const vcbData: VcbData;
export declare const listeners: Record<string, Function>;
declare const CometChatApp: {
    init: (config: {
        appID: string;
        appRegion: string;
        authKey?: string;
        storageMode?: string;
    }) => Promise<boolean>;
    login: ({ uid, authToken }: {
        uid?: string | undefined;
        authToken?: string | undefined;
    }) => Promise<import("@cometchat/chat-sdk-javascript").User>;
    logout: () => Promise<void>;
    launch: (config: {
        variantID?: string;
        targetElementID: string;
        isDocked?: boolean;
        height?: string;
        width?: string;
        chatType?: string;
        defaultChatID?: string;
        dockedAlignment?: string;
        aiAssistantTools?: any;
        showDockedUnreadCount?: boolean;
        showGroupActionMessages?: boolean;
        autoOpenFirstItem?: boolean;
    }) => Promise<void>;
    uiEvent: (eventName: string, callback: Function) => void;
    callUser: (uid: string) => Promise<void>;
    callGroup: (guid: string) => Promise<void>;
    createOrUpdateUser: (user: CometChat.User) => Promise<import("@cometchat/chat-sdk-javascript").User>;
    createOrUpdateGroup: (groupParams: CometChat.Group) => Promise<import("@cometchat/chat-sdk-javascript").Group>;
    chatWithUser: (uid: string) => void;
    chatWithGroup: (guid: string) => void;
    localize: (language: string) => void;
    reload: () => Promise<void>;
    showDockedUnreadCount: (show?: boolean) => void;
    showGroupActionMessages: (show?: boolean) => void;
    CometChat: typeof CometChat;
    CometChatAuth: {
        _config: import("./auth/cometchat-auth").CometChatWidgetConfig & {
            [key: string]: any;
        };
        start(config: import("./auth/cometchat-auth").CometChatWidgetConfig): Promise<void>;
        _validateConfig(): void;
        _initSDK(): Promise<void>;
        _login(): Promise<any>;
        _ensureUserExists(uid: string, isGuest?: boolean): Promise<void>;
        _authCreateOrUpdateUser(user: any, userNameAvailable: boolean): Promise<any>;
        _getOrCreateGuestUID(): string;
        _getCookie(name: string): string | undefined;
        _launchWidget(): Promise<any>;
    };
    CometChatNotifications: typeof CometChatNotifications;
};
export default CometChatApp;
