import { MessageInterface, MessageListener } from '../communication-interface/MessageInterface';
import { TransportInterface } from '../communication-interface/TransportInterface';
import { DBFactory } from '../db/DBFactory';
export declare class LibsignalMessage implements MessageInterface {
    private transport;
    private _signalUtil;
    private _messageCallbacks;
    constructor(transport: TransportInterface, dbFactory?: DBFactory);
    getKeyInformation(): Promise<any>;
    getOwnUserId(): Promise<string>;
    private _userIdToAddress;
    addContact(userId: string, keyInformation: any): Promise<void>;
    send(userId: string, payload: string): Promise<void>;
    sendToGroup(groupId: string, payload: string): Promise<void>;
    addMessageListener(listener: MessageListener): void | Promise<void>;
}
//# sourceMappingURL=LibsignalMessage.d.ts.map