import { ReadonlyURLSearchParams } from 'next/navigation';
import { TBodyComponent, THeader, TMergeConfig, TTableData } from './types';
export declare const getMaxDepth: (headers: Array<THeader>) => number;
export declare const buildHeaderRows: (headers: Array<THeader>, level?: number, rows?: any[], maxDepth?: number, startIndex?: number) => any[];
export declare const countLeaf: (header: THeader) => number;
export declare const renderCell: (data: TTableData, columnKey: string, thComponent?: TBodyComponent) => {
    value: any;
    row: number;
    children: import("./types").RowChildrenData | null;
};
export declare const findColumnKeyMerge: (mergeConfig: TMergeConfig, columnIndex: number) => string;
export declare function buildRowSpan(tableData: Array<TTableData>, mergeConfig: TMergeConfig): TTableData[];
export declare const applyUrlQuery: {
    get: (searchParams: ReadonlyURLSearchParams, key: string) => string | null;
    set: (routerPush: (href: string) => void, searchParams: ReadonlyURLSearchParams, data: Array<{
        key: string;
        value: string;
    }>) => void;
    delete: (routerPush: (href: string) => void, searchParams: ReadonlyURLSearchParams, key: Array<string>) => void;
    multipleMethod: (routerPush: (href: string) => void, searchParams: ReadonlyURLSearchParams, data: Array<{
        key: string;
        value: string;
        method: "get" | "set" | "delete";
    }>) => void;
};
