UNPKG

368 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 {};