import { default as Editor } from '../editor'; import { EditorConfig } from '../share/var'; import * as React from 'react'; export interface PluginProps> { editor: Editor; editorConfig: EditorConfig; config: ConfigType; } export declare abstract class PluginComponent extends React.Component { static pluginName: string; static align: string; static defaultConfig: Record; protected get editor(): Editor; protected get editorConfig(): EditorConfig; protected getConfig(key: string, defaultValue?: T): T | undefined; }