import { SpreadsheetColumn, SelectionRange, CellPosition } from '../types'; export interface UseClipboardOptions { columns: SpreadsheetColumn[]; data: T[]; selectionRange: SelectionRange | null; selectedCell: CellPosition | null; columnIndexMap: Record; isViewMode: boolean; updateCellValue: (rowIndex: number, column: SpreadsheetColumn, value: any) => void; containerRef: React.RefObject; getValue: (row: T, column: SpreadsheetColumn) => any; /** Dynamic cell editability check (mirrors the prop on SpreadsheetProps) */ isCellEditable?: (row: T, column: SpreadsheetColumn, index: number) => boolean; /** Called after a paste/cut so undo changes can be flushed */ onPaste?: () => void; /** Called after a cut so undo changes can be flushed */ onCut?: () => void; } export interface ClipboardResult { handleCopy: () => void; handleCut: () => void; handlePaste: () => void; } export declare function useClipboard(options: UseClipboardOptions): ClipboardResult; export default useClipboard; //# sourceMappingURL=useClipboard.d.ts.map