import * as O from 'optics-ts'; import type { WritableAtom, SetStateAction, PrimitiveAtom } from '../core/types'; export declare function focusAtom(atom: PrimitiveAtom, callback: (optic: O.OpticFor) => O.Prism): WritableAtom>; export declare function focusAtom(atom: PrimitiveAtom, callback: (optic: O.OpticFor) => O.Traversal): WritableAtom, SetStateAction>; export declare function focusAtom(atom: PrimitiveAtom, callback: (optic: O.OpticFor) => O.Lens | O.Equivalence | O.Iso): WritableAtom>;