import { Header } from '@tanstack/react-table';
import { CSSProperties } from 'react';

declare function tableHeaderRowSpan<D, V>(header: Header<D, V>): number | null;
declare function tableFooterRowSpan<D, V>(header: Header<D, V>): number | null;
declare function flexTableHeaderRowSpan<D, V>(header: Header<D, V>): {
    rowSpan: number;
    topBorderMightBeNeeded: boolean;
    styles: (cssRowHeight: CSSProperties["height"]) => CSSProperties;
};
declare function flexTableFooterRowSpan<D, V>(header: Header<D, V>): {
    rowSpan: number;
    bottomBorderMightBeNeeded: boolean;
    styles: (cssRowHeight: CSSProperties["height"]) => CSSProperties;
};

export { flexTableFooterRowSpan, flexTableHeaderRowSpan, tableFooterRowSpan, tableHeaderRowSpan };
