export type UsePaginationProps = {
    pageSize?: number;
    total: number;
};
export declare const usePagination: ({ total, pageSize: pageSizeOuter, }: UsePaginationProps) => {
    page: number;
    pageSize: number;
    setPage: React.Dispatch<React.SetStateAction<number>>;
    setPageSize: React.Dispatch<React.SetStateAction<number>>;
};
