import { AtomInstanceTtl, AtomApiGenerics, Prettify } from '../types/index'; export declare class AtomApi { static $$typeof: symbol; exports?: G['Exports']; promise: G['Promise']; store: G['Store']; ttl?: AtomInstanceTtl | (() => AtomInstanceTtl); value: G['State'] | G['Store']; constructor(value: AtomApi | G['Store'] | G['State']); addExports>(exports: NewExports): AtomApi & { Exports: (G['Exports'] extends Record ? unknown : G['Exports']) & NewExports; }>>; setExports>(exports: NewExports): AtomApi & { Exports: NewExports; }>>; setPromise(): AtomApi & { Promise: undefined; }>; setPromise

| undefined>(promise: P): AtomApi & { Promise: P; }>; setTtl(ttl: AtomInstanceTtl | (() => AtomInstanceTtl)): this; }