import React from "react"; import "trix/dist/trix.esm"; export interface RichTextEditorProps { onChange?: (value: string) => any; defaultValue?: string; expandHeight?: boolean; } export interface TrixEditor { input: string; ref: any; } export interface TrixEditorRef extends HTMLElement { addEventListener: (type: string, listener: (e: any) => void) => any; removeEventListener: (type: string, listener: (e: any) => void) => any; } export declare function RichTextEditor({ onChange, defaultValue, expandHeight, }: RichTextEditorProps): React.JSX.Element; //# sourceMappingURL=RichTextEditor.d.ts.map