import type { DeleteResult, FormatContentModelContext, IEditor, ReadonlyContentModelDocument } from 'roosterjs-content-model-types'; /** * @internal * @return True means content is changed, so need to rewrite content model to editor. Otherwise false */ export declare function handleKeyboardEventResult(editor: IEditor, model: ReadonlyContentModelDocument, rawEvent: KeyboardEvent, result: DeleteResult, context: FormatContentModelContext): boolean; /** * @internal */ export declare function shouldDeleteWord(rawEvent: KeyboardEvent, isMac: boolean): boolean; /** * @internal */ export declare function shouldDeleteAllSegmentsBefore(rawEvent: KeyboardEvent): boolean;