type ActionHandlerCallback = (actionType: string | undefined | null, messageData: any) => void | Promise<void>;
export declare class ClientAblyService {
    private static client;
    private static channel;
    private static isConnected;
    private static sessionId;
    private static messageUnsubscribe;
    private static onActionReceived;
    static startConnection(sessionId: string, ablyToken: string, onMessageReceived: Function, tenantId: string, onActionReceived?: ActionHandlerCallback): Promise<void>;
    private static joinChannel;
    static stopConnection(): Promise<void>;
    static isConnectionActive(): boolean;
    static getConnectionState(): string;
    static sendMessage(messageContent: string, senderType?: number): Promise<void>;
}
export {};
