import { CellTransferConfig, RowsChangeType, TransferColumnConfig } from '../types'; import { ObjectForExtending } from '../../types'; import { TableNotification } from '../../feature-notifications'; import { GridSelection } from '@glideappsfinal/glide-data-grid'; interface UsePasteParams { editModeEnabled: boolean; cellTransferConfig?: CellTransferConfig; columns: readonly TransferColumnConfig[]; flattenedRows: readonly R[]; selectionRef: 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 usePaste({ editModeEnabled, cellTransferConfig, columns, flattenedRows, selectionRef, rowContextValue, headerContextValue, onRowsChange, onNotification, }: UsePasteParams): { handlePaste: (clipboardText?: string) => Promise; }; export {};