import { CommonResource } from "./asyncResource"; export type AsyncAtom = { (): T | undefined; } & CommonResource; export declare function asyncAtom(fetcher: (signal?: AbortSignal) => Promise, options?: { suspense?: boolean; }): AsyncAtom; export declare function asyncAtomFamily(factory: (key: K) => (signal?: AbortSignal) => Promise, options?: { suspense?: boolean; }): (key: K) => AsyncAtom;