import { RichSurface } from './rich-surface'; export declare function applyTypingRules(surface: RichSurface, event: InputEvent): void; export declare function handleRichKeydown(surface: RichSurface, event: KeyboardEvent): void; export declare function handleRichPaste(surface: RichSurface, event: ClipboardEvent): void; /** Copies the Markdown of the selection alongside its HTML. */ export declare function handleRichCopy(surface: RichSurface, event: ClipboardEvent, cut: boolean): void; /** A drag out of the surface carries the Markdown too; a drop back in is then a native move. */ export declare function handleRichDragStart(surface: RichSurface, event: DragEvent): void; export declare function handleRichDrop(surface: RichSurface, event: DragEvent): void; export declare function handleRichClick(surface: RichSurface, event: MouseEvent): void;