import { FunctionComponent } from 'react'; import { AnyObject } from '@udecode/slate-plugins-core'; export declare type Options = Partial & AnyObject & { /** * Set HOC by key. */ key?: string; /** * Set HOC by key. */ keys?: string[]; }; /** * Create components HOC by plugin key. */ export declare const createNodesHOC: (HOC: FunctionComponent) => (components: any, options: Options | Options[]) => any; /** * Create components HOC by plugin key with a custom HOC. */ export declare const createNodesWithHOC: (withHOC: (component: any, props: T) => any) => (components: any, options: Options | Options[]) => any; //# sourceMappingURL=createNodesHOC.d.ts.map