import IQuill from 'quill';
type IBindingKey = 'enter';
type IBinding = {
    handler?: <T extends Record<string, any>>(range: T, context: T) => ReturnType<IBindingData['handler']>;
    key: string | number;
    shiftKey: boolean | null;
};
export type IBindingData = {
    handler: <T extends Record<string, any>>(editor: typeof IQuill, range: T, context: T) => any;
    key: IBindingKey;
};
export declare function editorBindings(getEditor: () => typeof IQuill, bindingData?: IBindingData[]): Record<IBindingKey, IBinding>;
export {};
