import { TRandom } from "@effect/core/stm/TRandom/definition"; import { TRef } from "@effect/core/stm/TRef/definition"; import { STM } from "@effect/core/stm/STM/definition/base"; import { Collection } from "@tsplus/stdlib/collections/Collection/definition"; import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition"; import { TRandomSym } from "@effect/core/stm/TRandom/definition"; import type { PCGRandomState } from "@tsplus/stdlib/io/Random"; /** * @tsplus static effect/core/stm/TRandom.Ops default * @tsplus location "@effect/core/stm/TRandom/operations/live" */ export declare const defaultTRandom: import("../../../io/Effect").Effect; /** * @tsplus static effect/core/stm/TRandom.Ops live * @tsplus location "@effect/core/stm/TRandom/operations/live" */ export declare const live: import("../../../io/Layer").Layer; export declare class LiveTRandom implements TRandom { readonly state: TRef; readonly [TRandomSym]: TRandomSym; constructor(state: TRef); withState(f: (state: PCGRandomState) => readonly [A, PCGRandomState]): STM; get next(): STM; get nextBoolean(): STM; get nextInt(): STM; nextRange(low: number, high: number): STM; nextIntBetween(low: number, high: number): STM; shuffle(collection: Collection): STM>; } //# sourceMappingURL=live.d.ts.map