UNPKG

438 BTypeScriptView Raw
1import { useAtomsSnapshot } from './useAtomsSnapshot';
2type Scope = NonNullable<Parameters<typeof useAtomsSnapshot>[0]>;
3type DevtoolsOptions = {
4 scope?: Scope;
5 enabled?: boolean;
6};
7export declare function useAtomsDevtools(name: string, options?: DevtoolsOptions): void;
8export declare function useAtomsDevtools(name: string, scope?: Scope): void;
9export {};
10declare type Awaited<T> = T extends Promise<infer V> ? V : T;
\No newline at end of file