import { MsgType } from "matrix-js-sdk/src/matrix";
interface MessageContent {
    msgtype: MsgType;
    body: string;
    format?: string;
    formatted_body?: string;
}
/**
 * Creates the `content` for an `m.room.message` event based on input.
 * @param text The text to put in the event.
 * @param html Optional HTML to put in the event.
 * @returns A complete `content` object for an `m.room.message` event.
 */
export declare function createMessageEventContent(text: string, html?: string): MessageContent;
export {};
