import { Seq } from 'immutable'; /** * Used to extract pagination information from Search API response metadata * and pass it down further */ declare type Pagination = { /** All allowed page numbers */ pages: Seq.Indexed; /** Current page number */ current: number; /** Returns * @property `key` of the page * @property `area-current` value for ADA * @property 'href` * @property `onClick` event handler */ getPageProps: (page: number, options?: { href: boolean; }) => { key: number; 'area-current'?: 'page'; href?: string; onClick: (e: Event) => void; }; }; declare const hook: ({ key, field, }?: { key?: string | undefined; force?: boolean | undefined; field?: string | undefined; }) => { meta: import("immutable").Map; update: (field: string, update?: any) => import("@findify/agent/types/core/Agent").Agent; analytics: import("@findify/analytics").Client; config: T extends import("@findify/store-configuration/types/Immutable").FeatureConfig ? T : import("@findify/store-configuration/types/Immutable").Factory; product: import("@findify/store-configuration").Product; }, "disableAutoRequest" | "product">>; } & Pagination, connect: (connector: any) => any; export { hook, connect };