import type { Editor } from 'slate'; import type { SlatePluginDefinition } from '../types/slatePluginDefinitions'; export declare const addPlugin: (editor: Editor, plugin: SlatePluginDefinition, props?: { data?: T | undefined; text?: string | null | undefined; } | undefined) => void; declare const _default: (plugin: SlatePluginDefinition) => (props?: { data?: T | undefined; text?: string | null | undefined; } | undefined) => void; export default _default; //# sourceMappingURL=useAddPlugin.d.ts.map