import { Ref } from "@effect/core/io/Ref/definition";
import { Stream } from "@effect/core/stream/Stream/definition";
export declare const SubscriptionRefSym: unique symbol;
export type SubscriptionRefSym = typeof SubscriptionRefSym;
/**
* A `SubscriptionRef` is a `Ref` that can be subscribed to in order to
* receive the current value as well as all changes to the value.
*
* @tsplus type effect/core/stream/SubscriptionRef
*/
export interface SubscriptionRef extends Ref.Synchronized {
/**
* Internal Discriminator
*/
get [SubscriptionRefSym](): SubscriptionRefSym;
/**
* A stream containing the current value of the `Ref` as well as all changes
* to that value.
*/
get changes(): Stream.UIO;
}
/**
* @tsplus type effect/core/stream/SubscriptionRef.Ops
*/
export interface SubscriptionRefOps {
}
export declare const SubscriptionRef: SubscriptionRefOps;
//# sourceMappingURL=definition.d.ts.map