import type * as AtomRegistry from "./AtomRegistry.ts"; /** * @since 4.0.0 * @category models */ export interface DehydratedAtom { readonly "~effect/reactivity/DehydratedAtom": true; } /** * @since 4.0.0 * @category models */ export interface DehydratedAtomValue extends DehydratedAtom { readonly key: string; readonly value: unknown; readonly dehydratedAt: number; readonly resultPromise?: Promise | undefined; } /** * @since 4.0.0 * @category dehydration */ export declare const dehydrate: (registry: AtomRegistry.AtomRegistry, options?: { /** * How to encode `AsyncResult.Initial` values. Default is "ignore". */ readonly encodeInitialAs?: "ignore" | "promise" | "value-only" | undefined; }) => Array; /** * @since 4.0.0 * @category dehydration */ export declare const toValues: (state: ReadonlyArray) => Array; /** * @since 4.0.0 * @category hydration */ export declare const hydrate: (registry: AtomRegistry.AtomRegistry, dehydratedState: Iterable) => void; //# sourceMappingURL=Hydration.d.ts.map