import { AllowedFillDirections, CellTransferConfig, FillHandleConfig, FillMeta, FillPatternEvent, RowsChangeType, TransferColumnConfig } from '../types'; import { ObjectForExtending } from '../../types/utils.type'; import { TableNotification } from '../../feature-notifications'; import { GridSelection } from '@glideappsfinal/glide-data-grid'; interface UseFillHandleParams { editModeEnabled: boolean; cellTransferConfig?: CellTransferConfig; columns: readonly TransferColumnConfig[]; flattenedRows: readonly R[]; rowContextValue?: ObjectForExtending; headerContextValue?: ObjectForExtending; onRowsChange?: (rows: R[], data: { indexes: number[]; column: TransferColumnConfig; rows?: { before: R; after: R; }[]; type: RowsChangeType; fillMeta?: FillMeta; fillResult?: string[][]; }) => void; onNotification?: (event: TableNotification) => void; } export declare function useFillHandle({ editModeEnabled, cellTransferConfig, columns, flattenedRows, rowContextValue, headerContextValue, onRowsChange, onNotification, }: UseFillHandleParams): { fillHandleProps: { fillHandle: boolean | Pick; allowedFillDirections: AllowedFillDirections; onFillPattern: (event: FillPatternEvent) => void; } | undefined; onSelectionChangeForFill: (selection: GridSelection) => void; }; export {};