export interface ClipboardDeps { /** True while a cell editor is open, so clipboard events go to the editor. */ isEditing: () => boolean; /** Text to write to the clipboard for the current selection, or null to skip. */ getClip: () => string | null; /** Apply pasted text to the grid. */ applyClip: (text: string) => void; } /** * Wires the grid's copy and paste shortcuts to the system clipboard. It listens * for the browser's native copy/paste events on the host, which fire on Ctrl+C * and Ctrl+V (and the menu actions) while the grid has focus. Using these events * means pasted text can come from another app (a spreadsheet) or from the grid * itself, in the same tab-delimited format. */ export declare class ClipboardHandler { private host; private deps; private readonly onCopy; private readonly onPaste; constructor(host: HTMLElement, deps: ClipboardDeps); dispose(): void; }