import { ScopedModel } from '../create-model'; import { ListCompare } from '../utils/comparer'; import { SelectorFn } from './useSelector'; export declare type SelectorsFn = SelectorFn; /** * Transforms the model's state into a list of values and * listens for the changes from one of the values.. * * If a value changes, the component re-renders. * * uses the `Object.is` function for comparison by default. * * @param model the scoped model to read the state from * @param selector a function that receives the model state * @param shouldUpdate a function that compares the * previously transformed value to the newly transformed value * and if it should replace the previous value and perform an update. */ export default function useSelectors(model: ScopedModel, selector: SelectorsFn, shouldUpdate?: ListCompare): R;