/// import { onKeyDown } from './handlers'; export default function ImagePlugin(options?: {}): { queries: { isSelectionInImage: (editor: any) => boolean; }; schema: { inlines: { [x: number]: { isVoid: boolean; }; }; }; commands: { insertImage: (editor: any, img: any) => any; }; toolbar: { button: (props: any) => JSX.Element; }; onKeyDown: typeof onKeyDown; renderInline: (props: any, editor: any, next: any) => any; htmlRule: { deserialize(el: any, next: any): { object: string; type: any; nodes: any; data: { style: {}; attrs: {}; }; isVoid: boolean; }; serialize(obj: any): JSX.Element; }; };