import { TableFilterValue, TableHeaderCell, TableOverflowTooltip, TableOverflowTooltipOptions, TableProps, TableResolvedColumn, TableRowKey, TableSection, TableSortOrder, TableSpanMethodContext, TableSpanResult, TableSummaryMethodContext, TableSummaryValue, TableTreeNode, TableTreeProps } from './table.js';
export declare function getRowIdentity<T>(row: T, rowIndex: number, rowKey?: TableRowKey<T>): string | number;
export declare function flattenColumns<T>(columns: TableResolvedColumn<T>[]): TableResolvedColumn<T>[];
export declare function normalizeColumns<T>(columns: TableResolvedColumn<T>[], widthOverrides: Record<string, number>, tableShowOverflowTooltip?: TableOverflowTooltip, tableTooltipEffect?: TableOverflowTooltipOptions["effect"], tableTooltipOptions?: TableOverflowTooltipOptions, fit?: boolean, containerWidth?: number): TableResolvedColumn<T>[];
export declare function resolveOverflowTooltipOptions(value: TableOverflowTooltip | undefined, tableValue?: TableOverflowTooltip, tableTooltipEffect?: TableOverflowTooltipOptions["effect"], tableTooltipOptions?: TableOverflowTooltipOptions): TableOverflowTooltipOptions | null;
export declare function buildHeaderRows<T>(columns: TableResolvedColumn<T>[]): TableHeaderCell<T>[][];
export declare function getFixedLeafColumns<T>(columns: TableResolvedColumn<T>[], position: "left" | "right"): TableResolvedColumn<T>[];
export declare function getUnfixedLeafColumns<T>(columns: TableResolvedColumn<T>[]): TableResolvedColumn<T>[];
export declare function sumColumnWidths<T>(columns: Array<Pick<TableResolvedColumn<T>, "realWidth">>): number;
export declare function projectColumnsByFixed<T>(columns: TableResolvedColumn<T>[], section: Exclude<TableSection, "main">): TableResolvedColumn<T>[];
export declare function getFixedOffsets<T>(columns: TableResolvedColumn<T>[]): {
    left: Record<string, number>;
    right: Record<string, number>;
};
export declare function defaultCompare(left: unknown, right: unknown): number;
export declare function resolveSortValue<T>(row: T, rowIndex: number, rows: T[], rule: string | ((row: T, rowIndex: number, rows: T[]) => unknown)): unknown;
export declare function matchesFilter<T>(row: T, column: TableResolvedColumn<T>, selectedValues: TableFilterValue[]): boolean;
export declare function normalizeSpanResult<T>(spanMethod: TableProps<T>["spanMethod"], context: TableSpanMethodContext<T>): TableSpanResult;
export declare function resolveSummary<T>(columns: TableResolvedColumn<T>[], data: T[], sumText?: string, summaryMethod?: (context: TableSummaryMethodContext<T>) => TableSummaryValue[]): unknown[];
export declare function resolveTreeProps(treeProps?: TableTreeProps): Required<TableTreeProps>;
export declare function getTreeChildren<T>(row: T, treeProps: Required<TableTreeProps>, lazyChildrenMap: Map<string | number, T[]>, key: string | number): T[];
export declare function resolveTreeNode<T>(row: T, key: string | number, level: number, expanded: boolean, loading: boolean, loaded: boolean, lazy: boolean, treeProps: Required<TableTreeProps>, lazyChildrenMap: Map<string | number, T[]>): TableTreeNode;
export declare function collectDescendantKeys<T>(row: T, key: string | number, treeProps: Required<TableTreeProps>, lazyChildrenMap: Map<string | number, T[]>, rowKey: TableRowKey<T> | undefined): (string | number)[];
export declare function resolveColumnWidth<T>(column: Pick<TableResolvedColumn<T>, "type" | "width" | "minWidth" | "uid">, widthOverrides: Record<string, number>): number;
export declare function getMaxLevel<T>(columns: TableResolvedColumn<T>[]): number;
export declare function getTreeColumn<T>(columns: TableResolvedColumn<T>[]): TableResolvedColumn<T>;
export declare function getColumnByStateKey<T>(columns: TableResolvedColumn<T>[], key: string): TableResolvedColumn<T> | undefined;
export declare function hasFixedColumns<T>(columns: TableResolvedColumn<T>[]): boolean;
export declare function isOrderActive(order: TableSortOrder): order is "ascending" | "descending";
