import { IEncryptedFile } from "matrix-js-sdk/src/matrix";
import { RoomMessageEventContent } from "matrix-js-sdk/src/types";
/**
 * @param {string} mxc MXC URL of the file
 * @param {string} mimetype
 * @param {number} duration Duration in milliseconds
 * @param {number} size
 * @param {number[]} [waveform]
 * @param {IEncryptedFile} [file] Encrypted file
 */
export declare const createVoiceMessageContent: (mxc: string | undefined, mimetype: string, duration: number, size: number, file?: IEncryptedFile, waveform?: number[]) => RoomMessageEventContent;
