import type { Signal } from "intentx-core-z"; export type AtomOptions = { equals?: (a: T, b: T) => boolean; }; export type AtomMiddleware = (next: T, prev: T) => T; export declare function createAtomFactory(signal: (v: T) => Signal): (initial: T, options?: AtomOptions) => import("./createBaseAtom").Atom; export declare function createAtomWithMiddlewareFactory(signal: (v: T) => Signal): (initial: T, middleware?: AtomMiddleware) => import("./createBaseAtom").Atom;