import React, { MutableRefObject, ReactNode } from "react";
import { IEventRelation } from "matrix-js-sdk/src/matrix";
import { FormattingFunctions } from "@matrix-org/matrix-wysiwyg";
interface WysiwygComposerProps {
    disabled?: boolean;
    onChange: (content: string) => void;
    onSend: () => void;
    placeholder?: string;
    initialContent?: string;
    className?: string;
    leftComponent?: ReactNode;
    rightComponent?: ReactNode;
    children?: (ref: MutableRefObject<HTMLDivElement | null>, wysiwyg: FormattingFunctions) => ReactNode;
    eventRelation?: IEventRelation;
}
export declare const WysiwygComposer: React.NamedExoticComponent<WysiwygComposerProps>;
export {};
