import React from 'react'; import { ReactCookieProps } from 'react-cookie'; export type IPaginationProps = { children: ((args: { offset: number; perPage: number; }) => React.ReactChild) | React.ReactChild; defaultProductsPerPage?: number; /** The query param to use for pagination. @default 'page' */ queryParam?: string; errorReportingEnabled?: boolean; } & ReactCookieProps; export declare function usePagination(): import("@jetshop/core/components/Pagination/PaginationContext").PaginationState; declare const _default: React.ComponentType<{ defaultProductsPerPage?: number; queryParam?: string; errorReportingEnabled?: boolean; }>; export default _default;