/**
 * @module Message
 */
/// <reference types="node" />
import { Message } from "./Message";
import { Client } from "../Client";
export declare class AudioMessage extends Message {
    audioUrl: string;
    audioType: string;
    audioData: string;
    /**
     * @description Creates a new Audio message.
     * @since 1.0
     * @author MiTask
     * @constructor
     * @param peerName Peer username
     * @param peerAvatar Peer avatar URL
     * @param topic Chat room topic string
     * @param timestamp UNIX Timestamp
     * @param audioUrl URL to the audio file
     * @param audioType Type of the audio file
     * @param audioData Audio file data in base64 String format
     */
    constructor(peerName: string, peerAvatar: string, topic: string | null, timestamp: number, audioUrl: string, audioType: string, audioData: string);
    /**
     * @since 1.0
     * @author MiTask
     * @returns {String} JSON String with all of the information about the message
     */
    toJsonString(): string;
    /**
     * @description Creates a new audio message instance.
     * @since 1.0
     * @author MiTask
     * @param bot Bot Client class
     * @param audioUrl URL to the audio file
     * @param audioType Type of the audio file
     * @param audioBuffer Audio file data
     * @returns {AudioMessage} AudioMessage instance.
     */
    static new(bot: Client, audioUrl: string, audioType: string, audioBuffer: Buffer): AudioMessage;
}
