import { Reducer, Dispatch } from 'react'; import { Option, Facet, EqualityCheck } from '../types'; /** * Provides a parallel to React's useReducer, but instead returns a facet as the value * * @param reducer function that will take the previous state and an action to return a new state * @param initialState mandatory initial state for the reducer's facet * @param equalityCheck optional equality check (has a default checker) * @returns */ export declare const useFacetReducer: (reducer: Reducer, A>, initialState: S, equalityCheck?: EqualityCheck) => [Facet, Dispatch];