import { CellTransferConfig, RowsChangeType, TransferColumnConfig } from '../types'; import { ObjectForExtending } from '../../types/utils.type'; import { TableNotification } from '../../feature-notifications'; import { GridSelection } from '@glideappsfinal/glide-data-grid'; interface UseClipboardParams { editModeEnabled: boolean; cellTransferConfig?: CellTransferConfig; columns: readonly TransferColumnConfig[]; flattenedRows: readonly R[]; containerRef: React.RefObject; rowContextValue?: ObjectForExtending; headerContextValue?: ObjectForExtending; onRowsChange?: (rows: R[], data: { indexes: number[]; column: TransferColumnConfig; rows?: { before: R; after: R; }[]; type: RowsChangeType; }) => void; onNotification?: (event: TableNotification) => void; } export declare function useClipboard({ editModeEnabled, cellTransferConfig, columns, flattenedRows, containerRef, rowContextValue, headerContextValue, onRowsChange, onNotification, }: UseClipboardParams): { onGridSelectionChange: (next: GridSelection) => void; handleCopy: () => void; handlePaste: (clipboardText?: string | undefined) => Promise; }; export {};