import { PlatePlugin } from '../types/PlatePlugin/PlatePlugin'; import { WithOverride } from '../types/PlatePlugin/WithOverride'; import { PlateOptions, PlatePluginComponent } from '../types/PlatePluginOptions/PlateOptions'; import { SPEditor } from '../types/SPEditor'; import { TEditor } from '../types/TEditor'; export interface WithPlateOptions { id?: string | null; plugins?: PlatePlugin[]; options?: PlateOptions; components?: Record; } /** * Apply `withInlineVoid` and all plate plugins `withOverrides`. * Overrides: * - `id`: id of the editor. * - `key`: random key for the component so each time the editor is created, the component resets. * - `options`: {@link PlateOptions} */ export declare const withPlate: ({ id, plugins, options, components, }?: WithPlateOptions) => WithOverride, T>; //# sourceMappingURL=withPlate.d.ts.map