import { BrainfishEditorProps, EditorTheme } from '../types'; import * as React from 'react'; export type MarkdownSourceEditorMode = 'markdown' | 'source'; export type MarkdownSourceEditorHandle = { getMarkdown: () => string; }; export type MarkdownSourceEditorProps = { id?: string; name?: string; /** Re-seeds content when this value changes (e.g. selected record id). */ resetKey?: string; markdown?: string; placeholder?: string; className?: string; theme?: EditorTheme; onChange?: (markdown: string) => void; channels?: BrainfishEditorProps['channels']; slashMenu?: BrainfishEditorProps['slashMenu']; toolbar?: BrainfishEditorProps['toolbar']; mentions?: BrainfishEditorProps['mentions']; }; export declare const MarkdownSourceEditor: React.ForwardRefExoticComponent>;