import { DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
import { ApColumnType } from '../../ap-table/interface';
import { ComputedRecordParams, SummaryColumnType, ValueType } from './interface';
export declare const flattenColumns: (columns?: SummaryColumnType) => ApColumnType[];
export declare const formatDataIndex: (dataIndex?: DataIndex | Key) => string | number | readonly (string | number)[];
export declare const formatNumber: (value: any, precision: number, thousands: boolean) => string;
/**
 * 自动对表格数据进行求和
 * @param params ComputedRecordParams
 * @returns
 */
export declare function computedRecords<T>(params: ComputedRecordParams<T>): ValueType;
