/** * @since 4.0.0 */ import type * as Arr from "./Array.ts"; import * as Channel from "./Channel.ts"; import * as Schema from "./Schema.ts"; /** * @since 4.0.0 * @category constructors */ export declare const encode: (schema: S) => () => Channel.Channel, IE | Schema.SchemaError, Done, Arr.NonEmptyReadonlyArray, IE, Done, S["EncodingServices"]>; /** * @since 4.0.0 * @category constructors */ export declare const encodeUnknown: (schema: S) => () => Channel.Channel, IE | Schema.SchemaError, Done, Arr.NonEmptyReadonlyArray, IE, Done, S["EncodingServices"]>; /** * @since 4.0.0 * @category constructors */ export declare const decode: (schema: S) => () => Channel.Channel, IE | Schema.SchemaError, Done, Arr.NonEmptyReadonlyArray, IE, Done, S["DecodingServices"]>; /** * @since 4.0.0 * @category constructors */ export declare const decodeUnknown: (schema: S) => () => Channel.Channel, IE | Schema.SchemaError, Done, Arr.NonEmptyReadonlyArray, IE, Done, S["DecodingServices"]>; /** * @since 4.0.0 * @category combinators */ export declare const duplex: { /** * @since 4.0.0 * @category combinators */ (options: { readonly inputSchema: In; readonly outputSchema: Out; }): (self: Channel.Channel, OutErr, OutDone, Arr.NonEmptyReadonlyArray, Schema.SchemaError | InErr, InDone, R>) => Channel.Channel, Schema.SchemaError | OutErr, OutDone, Arr.NonEmptyReadonlyArray, InErr, InDone, R | In["EncodingServices"] | Out["DecodingServices"]>; /** * @since 4.0.0 * @category combinators */ (self: Channel.Channel, OutErr, OutDone, Arr.NonEmptyReadonlyArray, Schema.SchemaError | InErr, InDone, R>, options: { readonly inputSchema: In; readonly outputSchema: Out; }): Channel.Channel, Schema.SchemaError | OutErr, OutDone, Arr.NonEmptyReadonlyArray, InErr, InDone, R | In["EncodingServices"] | Out["DecodingServices"]>; }; /** * @since 4.0.0 * @category combinators */ export declare const duplexUnknown: { /** * @since 4.0.0 * @category combinators */ (options: { readonly inputSchema: In; readonly outputSchema: Out; }): (self: Channel.Channel, OutErr, OutDone, Arr.NonEmptyReadonlyArray, Schema.SchemaError | InErr, InDone, R>) => Channel.Channel, Schema.SchemaError | OutErr, OutDone, Arr.NonEmptyReadonlyArray, InErr, InDone, R | In["EncodingServices"] | Out["DecodingServices"]>; /** * @since 4.0.0 * @category combinators */ (self: Channel.Channel, OutErr, OutDone, Arr.NonEmptyReadonlyArray, Schema.SchemaError | InErr, InDone, R>, options: { readonly inputSchema: In; readonly outputSchema: Out; }): Channel.Channel, Schema.SchemaError | OutErr, OutDone, Arr.NonEmptyReadonlyArray, InErr, InDone, R | In["EncodingServices"] | Out["DecodingServices"]>; }; //# sourceMappingURL=ChannelSchema.d.ts.map