/** * A typed Effect `RpcClient` over a Durable Object namespace whose stubs * expose an Effect `fetch` — the client half of `RpcDurableObject`, shared * by every engine. * * @internal */ import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import { RpcClient, RpcSerialization, type Rpc, type RpcGroup } from "effect/rpc"; import type * as RpcClientError from "effect/rpc/RpcClientError"; export declare const bindEffectRpc: (namespace: { readonly getByName: (id: string, options?: any) => { readonly fetch: any; }; }, group: RpcGroup.RpcGroup, options?: { /** * Override the rpc serialization layer. Defaults to NDJSON, which * is required when any rpc in the group is a streaming rpc. */ readonly serialization?: Layer.Layer; }) => { readonly getByName: (id: string, options?: any) => Effect.Effect, never, Rpc.MiddlewareClient>; }; //# sourceMappingURL=EffectRpc.d.ts.map