import { Recordable } from '../../type';
import { ApListProps } from '../interface';
import { ComputedRef } from 'vue';
/**
 * 处理离线数据分页的情况
 * @param dataSource
 * @param pagination
 * @returns
 */
export declare const useOfflineList: <DataType = Recordable>(params: ApListProps<DataType>) => {
    pagination: ComputedRef<{
        current: number;
        pageSize: number;
        total: number;
        showSizeChanger: NonNullable<boolean | undefined>;
        showQuickJumper: NonNullable<boolean | undefined>;
        showLessItems: boolean | undefined;
        size: "default" | "small";
        pageSizeOptions: (string | number)[];
    }>;
    dataSource: ComputedRef<DataType[]>;
    onChange: (page: number, size: number) => void;
};
