1 | import type { Atom, WritableAtom } from 'jotai';
|
2 | import type { Scope } from '../core/atom';
|
3 | declare type DevtoolOptions = {
|
4 | name?: string;
|
5 | scope?: Scope;
|
6 | enabled?: boolean;
|
7 | };
|
8 | export declare function useAtomDevtools<Value, Result extends void | Promise<void>>(anAtom: WritableAtom<Value, Value, Result> | Atom<Value>, options?: DevtoolOptions): void;
|
9 | export declare function useAtomDevtools<Value, Result extends void | Promise<void>>(anAtom: WritableAtom<Value, Value, Result> | Atom<Value>, name?: string, scope?: Scope): void;
|
10 | export {};
|