import { Editor, RenderInlineProps } from "slate-react"; import { Editor as CoreEditor } from "slate"; export interface PlaceholderPluginParams { items: { name: string; [key: string]: any; }[]; } export declare const placeholderPlugin: (params: PlaceholderPluginParams) => { renderInline: (props: RenderInlineProps, editor: CoreEditor, next: () => any) => any; onKeyDown: (event: KeyboardEvent, editor: Editor, next: () => any) => any; sidebarButtons: ((props: { editor: Editor; }) => JSX.Element)[]; }; //# sourceMappingURL=placeholderPlugin.d.ts.map