import { GristRecord } from '../types.js'; /** * What one click on a row's selection does, as a list does it: a plain click turns the rows it names on or off and * becomes the anchor; a shift-click gives every row from the anchor to the clicked one the clicked row's new state. * Without an anchor still in the rows (none yet, or the rows were read again), a shift-click is a plain click. * * Pure: it names the rows to turn on and off and the next anchor; the grid writes `__selected__`. */ export declare function selectionChange(records: GristRecord[], change: { added?: GristRecord[]; removed?: GristRecord[]; range?: boolean; }, anchor?: GristRecord): { on: GristRecord[]; off: GristRecord[]; anchor?: GristRecord; };