import { type Klass, type LexicalNode } from 'lexical'; import type { ReactElement, ReactNode } from 'react'; export declare const RTEPluginMeta: unique symbol; export declare type RTEPluginMeta = { name: string; lexical?: { nodes?: Klass[]; }; }; export interface RTEPlugin

{ (props: P): ReactElement | null; [RTEPluginMeta]?: RTEPluginMeta; } export declare const isRTEPluginElement: (plugin: {}) => plugin is ReactElement>; export declare const useRTEUpdate: (callback: () => void) => void; export declare type ToolbarPortalProviderProps = { children: ReactNode; disabled: boolean; focused: boolean; }; export declare const RTEPluginContextProvider: ({ children, disabled, focused, }: ToolbarPortalProviderProps) => JSX.Element; export declare const useRTEPluginContext: () => { disabled: boolean; disabledFormatting: boolean; focused: boolean; setDisabledFormatting: (value: boolean) => void; }; export { Props as ToolbarProps, Toolbar, useToolbarPortalRegister, } from './Toolbar/Toolbar'; //# sourceMappingURL=api.d.ts.map