import { Item } from '../lib/types'; export interface ItemState { expanded?: boolean; folded?: boolean; } export interface GroupItem { items?: T[]; [key: string]: unknown; } export type ItemsState = WeakMap; declare const symbols: { group: symbol; }; declare const getItemState: (item: Item, itemsState: ItemsState) => ItemState; declare const isExpanded: (item: Item, itemsState: ItemsState) => boolean; declare const isFolded: (group: Item, itemsState: ItemsState) => boolean; declare const isGroup: (item: unknown) => item is GroupItem; declare const prepareData: (data: T[] | GroupItem[], displayEmptyGroups: boolean, itemsState: ItemsState) => (T | GroupItem)[] | undefined; declare const callFn: (fn: ((...args: A) => T) | T, ...args: A) => T; declare const byReference: (a: T, b: T) => boolean; export { symbols, prepareData, getItemState, isExpanded, isFolded, isGroup, callFn, byReference, }; //# sourceMappingURL=utils.d.ts.map