import React from 'react'; import mutations from '../mutations'; import type BlockRenderer from '../types/BlockRenderer'; import type { InBlockMutations } from '../types/BlockRenderer'; import type BlockState from '../types/BlockState'; import type KeybindHandler from '../types/KeybindHandler'; import type RichTextKeybindHandler from '../types/RichTextKeybindHandler'; import type Plugin from '../types/Plugin'; import InlineBlockRenderer from '../types/InlineBlockRenderer'; export type EditorProps = { startingBlocks: BlockState[]; renderers: { [type: string]: BlockRenderer; }; inlineBlocks: { [type: string]: InlineBlockRenderer; }; postMutations?: { [T in keyof typeof mutations]?: ((...args: Parameters) => void)[]; }; keybinds?: KeybindHandler[]; richTextKeybinds?: RichTextKeybindHandler[]; blockWrappers?: React.FC<{ mutations: InBlockMutations; block: BlockState; children: React.ReactNode; }>[]; plugins?: Plugin[]; }; declare const Editor: React.FC; export default Editor; //# sourceMappingURL=Editor.d.ts.map