import { Selection, SelectionConfig, SelectionOptions } from "./Selection"; import { View } from "../../data/View"; import { Prop } from "../Prop"; export interface KeySelectionConfig extends SelectionConfig { /** Name of the field used as a key. Default is `id`. */ keyField?: string; /** Storage format. Can be `array` or `hash`. Default is `array`. */ storage?: string; /** Selection binding configuration. */ selection?: Prop; } export declare class KeySelection extends Selection { selection: any; key: any; keyField: string | false; keyFields: string[]; initialized: boolean; storage: string; constructor(config?: KeySelectionConfig); init(): void; getKey(record: any): any; areKeysEqual(key1: any, key2: any): boolean; declareData(...args: any[]): any; configureWidget(widget: any): any; selectMultiple(store: View, records: any[], indexes: any[], { toggle, add }?: SelectionOptions): any; updateSelectionWithShallowEqualsCheck(store: View, newSelection: any): void; getIsSelectedDelegate(store: View): (record: any, index: any) => boolean; isSelected(store: View, record: any, index: any): boolean; } //# sourceMappingURL=KeySelection.d.ts.map