1 | import type { Atom } from 'jotai';
|
2 | declare type Awaited<T> = T extends Promise<infer V> ? Awaited<V> : T;
|
3 | export declare function selectAtom<Value, Slice>(anAtom: Atom<Value>, selector: (v: Awaited<Value>) => Slice, equalityFn?: (a: Slice, b: Slice) => boolean): Atom<Slice>;
|
4 | export {};
|