import { Value } from "../../slate/editor/TEditor"; import { NoInfer } from "../../types/misc/NoInfer"; import { TazeEditor } from "../../types/taze/TazeEditor"; import { TazePlugin } from "../../types/plugin/TazePlugin"; import { OverrideByKey } from "../../types/taze/OverrideByKey"; /** * Create plugin factory with a default plugin. * - first param is the default plugin. * - the only required property of the default plugin is `key`. * - returns a plugin factory: * - first param `override` can be used to (deeply) override the default plugin. * - second param `overrideByKey` can be used to (deeply) override by key a nested plugin (in plugin.plugins). */ export declare const createPluginFactory:

= TazeEditor, S extends object = any>(defaultPlugin: TazePlugin, V, E, S>) => = TazeEditor>(override?: Partial, OV, OE, any>> | undefined, overrideByKey?: OverrideByKey) => TazePlugin, OV, OE, any>; //# sourceMappingURL=createPluginFactory.d.ts.map