import type { SetAtom, WritableAtom } from './atom'; import { getScopeContext } from './contexts'; import type { ExtractAtomResult, ExtractAtomUpdate } from './typeUtils'; type Scope = NonNullable[0]>; export declare function useSetAtom>(atom: WritableAtom, scope?: Scope): SetAtom; export declare function useSetAtom>>(atom: AtomType, scope?: Scope): SetAtom, ExtractAtomResult>; export {};