import { Sheet } from '@gridsheet/core'; import { PointType, StorePatchType, StoreType } from '../types'; /** * Strip redundant fields from a StorePatchType before recording in history. * - selectingZone with endY === -1 && endX === -1 is a no-selection sentinel and need not be stored. */ export declare const compactReflection: (reflection: StorePatchType) => StorePatchType; export declare const restrictPoints: (store: StoreType, sheet: Sheet) => { choosing: PointType; selectingZone: { startY: number; startX: number; endY: number; endX: number; }; }; export declare const flashSheet: (el: HTMLElement | null) => void; export declare const flashWithCallback: (store: StoreType, sheet: Sheet, callback: ((s: StoreType) => void) | undefined) => StoreType & { callback?: (store: StoreType) => void; }; export declare const initSearchStatement: (sheet: Sheet, store: StoreType) => { matchingCells: never[]; searchQuery?: undefined; matchingCellIndex?: undefined; choosing?: undefined; } | { matchingCells: string[]; searchQuery: string; matchingCellIndex: number; choosing: PointType; }; export declare const isXSheetFocused: (store: StoreType) => boolean; //# sourceMappingURL=helpers.d.ts.map