import type { Atom } from 'jotai/vanilla'; type AnyAtomValue = unknown; type AnyAtom = Atom; type CreatedAt = number; type Read = Atom['read']; type Options = { size?: number; shouldRemove?: (createdAt: CreatedAt, value: AnyAtomValue, map: Map) => boolean; areEqual?: (a: V, b: V) => boolean; }; export declare function atomWithCache(read: Read, options?: Options): Atom>>; export {};