/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import type { PaginationProps } from 'antd';
/**
 * 计算未知总数场景下的 Pagination total：
 * - 本页不足 pageSize 或 hasNext=false，说明到末页
 * - 否则用 +1 触发“还有下一页”
 */
export declare const getUnknownCountPaginationTotal: (options: {
    dataLength?: number;
    pageSize?: number;
    current?: number;
    hasNext?: boolean;
}) => number;
export declare const getSimpleModePaginationClassName: (withLineHeight?: boolean) => string;
export declare const getMobileCompactPaginationClassName: () => string;
export declare const mergePaginationClassName: (...classNames: Array<string | undefined | false>) => string;
export declare const createCompactSimpleItemRender: (options: {
    current?: number;
    controlHeight?: number;
    currentTextMarginLeft?: number;
}) => PaginationProps['itemRender'];
export declare const applyMobilePaginationProps: <T extends PaginationProps>(pagination: T, isMobileLayout: boolean) => PaginationProps;
