/** * @since 1.0.0 */ import * as Effect from "effect/Effect"; import * as Option from "effect/Option"; import * as Stream from "effect/Stream"; /** * @category models * @since 1.0.0 */ export type PrimitiveValue = string | number | bigint | boolean | null | undefined; /** * @category models * @since 1.0.0 */ export type Primitive = PrimitiveValue | ReadonlyArray; /** * @category models * @since 1.0.0 */ export type Interpolated = Primitive | Option.Option | Effect.Effect; /** * @category models * @since 1.0.0 */ export type InterpolatedWithStream = Interpolated | Stream.Stream; /** * @category models * @since 1.0.0 */ export declare namespace Interpolated { /** * @category models * @since 1.0.0 */ type Context = A extends infer T ? T extends Option.Option ? never : T extends Stream.Stream ? R : never : never; /** * @category models * @since 1.0.0 */ type Error = A extends infer T ? T extends Option.Option ? never : T extends Stream.Stream ? E : never : never; } /** * @category constructors * @since 1.0.0 */ export declare function make>(strings: TemplateStringsArray, ...args: A): Effect.Effect, Interpolated.Context>; /** * @category constructors * @since 1.0.0 */ export declare function stream>(strings: TemplateStringsArray, ...args: A): Stream.Stream, Interpolated.Context>; //# sourceMappingURL=Template.d.ts.map