import { Facet } from '../immutable/facets'; import { List, Map } from 'immutable'; export declare const patchFacets: (facets: any, updater: any) => any; declare type Facets = { /** * List of facets */ facets: List; /** * Reset all facets */ onReset: (e: Event) => void; }; /** * Used to connect to facets field of Search API response and transform it into * internal MJS structure */ declare const hook: ({ key, field, }?: { key?: string | undefined; force?: boolean | undefined; field?: string | undefined; }) => { meta: 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">>; } & Facets, connect: (connector: any) => any; export { hook, connect };