/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */
import { SortDirection } from '@datashaper/schema';
import type { IColumn, IDropdownOption, IGroup } from '@fluentui/react';
import type { GroupBySpec, RowObject } from 'arquero/dist/types/table/table';
export declare function getValue(item: any, column?: IColumn): any;
export declare function getDropdownValue(item: any, rowIndex: number, column?: IColumn): IDropdownOption[];
/**
 * Bins values into strict categories
 * @param values
 * @returns
 */
export declare function categories(values: any[]): Record<string, number> | undefined;
/**
 * Determine if every category value has only a single count
 * @param cats
 * @returns
 */
export declare function isDistinctCategories(cats: Record<string, number>): boolean;
export declare function isEmpty(value: any): boolean;
/**
 * A blank cell is just whitespace
 * @param value
 * @returns
 */
export declare function isBlank(value: any): boolean;
export declare function debounceFn(fn: () => void, delay?: number): () => void;
export declare function groupBuilder(row: RowObject, existingGroups: GroupBySpec, actualLevel: number, totalLevelCount: number, items: RowObject[], sortDirection?: SortDirection, lazyLoadGroups?: boolean, sortColumn?: string, fatherIndex?: number): IGroup;
