import { GroupArea, GroupSelection } from "../types/group"; import { CellLocation, IndexColumn, IndexRow } from "../types"; import { StoreState } from "../store/types"; export declare const getClickedCellAnglePoint: (cellLocation: CellLocation, columnRecord: Record, rowRecord: Record) => GroupArea; export declare const getSingleSelectionAnglePoint: (selectingArea: StoreState['selectionStatus']) => GroupArea; /** * 获取当前击中的区域(仅单区获取)) * @param selectionStatus */ export declare const getSelectionHitAreaWhenSingleHit: (selectionStatus: StoreState['selectionStatus']) => GroupSelection; export declare const calculateSelectionArea: (leftLength: number, scrollLength: number) => (selectionStatus: StoreState['selectionStatus']) => { leftArea: GroupSelection; rightArea?: undefined; scrollArea?: undefined; } | { rightArea: GroupSelection; leftArea?: undefined; scrollArea?: undefined; } | { scrollArea: GroupSelection; leftArea?: undefined; rightArea?: undefined; } | { leftArea: GroupSelection; scrollArea: GroupSelection; rightArea?: undefined; } | { rightArea: GroupSelection; scrollArea: GroupSelection; leftArea?: undefined; } | { leftArea: GroupSelection; rightArea: GroupSelection; scrollArea: GroupSelection; };