import { RefObject } from 'react';
import { TRichTextEditorRef } from './RichTextEditor';
export interface EditorProps {
    /**
     * Id of the feed object
     * @default 'poll'
     */
    id?: string;
    /**
     * Overrides or extends the styles applied to the component.
     * @default null
     */
    className?: string;
    /**
     * Default value for the editor
     * @default null
     */
    defaultValue?: string;
    /**
     * Is the content of the editor read only
     * @default false
     */
    readOnly?: boolean;
    /**
     * Handler for change event of the editor
     * @default null
     * */
    onChange?: (value: string) => void;
    /**
     * Handler for ref forwarding of the MUIRichTextEditor
     * @default null
     */
    onRef?: (editor: RefObject<TRichTextEditorRef>) => void;
}
/**
 * > API documentation for the Community-UI Editor component. Learn about the available props and the CSS API.

 #### Import

 ```jsx
 import {Editor} from '@selfcommunity/ui';
 ```

 #### Component Name

 The name `SCEditor` can be used when providing style overrides in the theme.

 #### CSS

 |Rule Name|Global class|Description|
 |---|---|---|
 |root|.SCEditor-root|Styles applied to the root element.|
 |drop|.SCEditor-drop|Styles applied to the drop element.|
 |actions|.SCEditor-actions|Styles applied to the actions section.|

 * @param inProps
 */
export default function Editor(inProps: EditorProps): JSX.Element;
//# sourceMappingURL=Editor.d.ts.map