import { TableColumnCtx } from 'element-plus';
import { Ref } from 'vue';

export * from './use-visible';
export * from './open-modal';
export interface WetSummaryMethodParams<T = any> {
    columns: TableColumnCtx<T>[];
    data: T[];
}
interface TableSpanMethodProps<T = any> {
    row: T;
    column: TableColumnCtx<T>;
    rowIndex: number;
    columnIndex: number;
}
export declare const tableColumnSummary: <T>(param: WetSummaryMethodParams<T>, prop: string[], options?: {
    summaryLabel?: string;
    summaryEmpty?: string;
}) => string[];
export declare const useMergeTableCell: <T extends any[]>(data: Ref<T, T>, prop: string[], rowOptions?: {
    rowIndex: number[] | ((index: number) => boolean);
    adjoinProp: string[];
}) => (p: TableSpanMethodProps) => {
    colspan: number;
    rowspan: number;
};
