import { NormalizedBinding, Binding } from "quill-next"; export interface Context { collapsed: boolean; empty: boolean; offset: number; prefix: string; suffix: string; format: Record; event: KeyboardEvent; line: any; } export type QuillKeyboardHandler = (range: Range, context: Context, binding: NormalizedBinding) => boolean | void; export declare function useQuillKeyboardBinding(binding: Binding, context: Partial, handler: QuillKeyboardHandler): void;