export type EqualityFn = (a: T, b: T) => boolean; export declare function createSelector(select: (state: S) => R, isEqual?: EqualityFn): (state: S) => R; export declare function selectAtom(atom: () => T, selector: (value: T) => R, onChange: (value: R) => void, options?: { isEqual?: (a: R, b: R) => boolean; immediate?: boolean; }): () => void; export declare function watchSelector(getState: () => S, subscribe: (fn: () => void) => () => void, selector: (state: S) => R, onChange: (value: R) => void, isEqual?: EqualityFn): () => void;