import { Effect } from "@effect/core/io/Effect/definition"; export declare const CachedURI: unique symbol; export type CachedURI = typeof CachedURI; /** * A `Cached` is a possibly resourceful value that is loaded into memory, and * which can be refreshed either manually or automatically. * * @tsplus type effect/core/io/Cached */ export interface Cached { readonly [CachedURI]: { _Error: (_: never) => Error; _Resource: (_: never) => Resource; }; /** * Retrieves the current value stored in the cache. */ get get(): Effect; /** * Refreshes the cache. This method will not return until either the refresh * is successful, or the refresh operation fails. */ get refresh(): Effect; } /** * @tsplus type effect/core/io/Cached.Ops */ export interface CachedOps { } export declare const Cached: CachedOps; //# sourceMappingURL=definition.d.ts.map