/** * In-memory test harness for RPC groups. * * `RpcTest` connects a generated client directly to `RpcServer` handlers for * the same `RpcGroup`. It uses the no-serialization path, so requests, * responses, stream chunks, acknowledgements, interrupts, headers, and * middleware metadata travel through the normal client/server machinery without * opening HTTP, socket, worker, or serializer infrastructure. * * @stability unstable * @since 4.0.0 */ import * as Effect from "../Effect.ts"; import type * as Scope from "../Scope.ts"; import type * as Rpc from "./Rpc.ts"; import * as RpcClient from "./RpcClient.ts"; import type * as RpcGroup from "./RpcGroup.ts"; /** * Creates an in-memory RPC client for a group, backed by the group's handlers * from the environment and using the no-serialization test transport. * * @stability unstable * @category constructors * @since 4.0.0 */ export declare const makeClient: (group: RpcGroup.RpcGroup, options?: { readonly flatten?: Flatten | undefined; }) => Effect.Effect : RpcClient.RpcClient, never, Scope.Scope | Rpc.ToHandler | Rpc.Middleware | Rpc.MiddlewareClient>; //# sourceMappingURL=RpcTest.d.ts.map