import { Request } from "express";
interface paginationType {
    list: any[];
    total: number;
    pageSize: number;
    pageNumber: number;
}
/**
 *
 * @param entite 传入实体类以供查询
 * @param req express的Request请求体
 * @returns
 */
export default function getPagination(entite: any, req: Request, queryParams?: {
    [key: string]: any;
}): Promise<paginationType>;
export {};
