import type { Editor, TinyMCE } from "tinymce";
export declare const validEvents: readonly ["Activate", "AddUndo", "BeforeAddUndo", "BeforeExecCommand", "BeforeGetContent", "BeforeRenderUI", "BeforeSetContent", "BeforePaste", "Blur", "Change", "ClearUndos", "Click", "CommentChange", "CompositionEnd", "CompositionStart", "CompositionUpdate", "ContextMenu", "Copy", "Cut", "Dblclick", "Deactivate", "Dirty", "Drag", "DragDrop", "DragEnd", "DragGesture", "DragOver", "Drop", "ExecCommand", "Focus", "FocusIn", "FocusOut", "GetContent", "Hide", "Init", "Input", "KeyDown", "KeyPress", "KeyUp", "LoadContent", "MouseDown", "MouseEnter", "MouseLeave", "MouseMove", "MouseOut", "MouseOver", "MouseUp", "NodeChange", "ObjectResizeStart", "ObjectResized", "ObjectSelected", "Paste", "PostProcess", "PostRender", "PreProcess", "ProgressState", "Redo", "Remove", "Reset", "ResizeEditor", "SaveContent", "SelectionChange", "SetAttrib", "SetContent", "Show", "Submit", "Undo", "VisualAid"];
export type ValidEventTypes = Lowercase<typeof validEvents[number]>;
export type EventHandlers = {
    [K in ValidEventTypes]: (event: any, editor: TinyMCE) => void;
};
export declare const bindHandlers: (editor: Editor, eventHandlers: Partial<EventHandlers>) => void;
export declare const injectTiny: (doc: any, url: any, cb: any) => void;
