import React from "react";
import { MatrixEvent } from "matrix-js-sdk/src/matrix";
import { RoomMessageEventContent } from "matrix-js-sdk/src/types";
import EditorModel from "../../../editor/model";
import EditorStateTransfer from "../../../utils/EditorStateTransfer";
import { MatrixClientProps } from "../../../contexts/MatrixClientContext";
export declare function createEditContent(model: EditorModel, editedEvent: MatrixEvent, replyToEvent?: MatrixEvent): RoomMessageEventContent;
interface IEditMessageComposerProps extends MatrixClientProps {
    editState: EditorStateTransfer;
    className?: string;
}
declare const EditMessageComposerWithMatrixClient: (props: Omit<IEditMessageComposerProps, "mxClient"> & React.RefAttributes<React.Component<IEditMessageComposerProps, any, any>>) => React.ReactElement | null;
export default EditMessageComposerWithMatrixClient;
