import { ComponentType } from 'react'; import { Store } from '@draft-js-plugins/utils'; import { EditorState, SelectionState } from 'draft-js'; import { EditorPlugin } from '@draft-js-plugins/editor'; import { ToolbarPubProps } from './components/Toolbar'; import Separator from './components/Separator'; import { StaticToolbarPluginTheme } from './theme'; export type { StaticToolbarPluginTheme }; export interface StaticToolbarPluginConfig { theme?: StaticToolbarPluginTheme; } export type ToolbarProps = ToolbarPubProps; export type StaticToolBarPlugin = EditorPlugin & { Toolbar: ComponentType; }; export interface StoreItemMap { getEditorState?(): EditorState; setEditorState?(state: EditorState): void; selection?: SelectionState; } export type StaticToolBarPluginStore = Store; declare const _default: (config?: StaticToolbarPluginConfig) => StaticToolBarPlugin; export default _default; export { Separator };