import { ResultAsync } from 'neverthrow'; import { OpenApiClientCall } from './open-api-client'; import { OpenRPCClientCall } from './open-rpc-client'; declare type TransportType = 'json-rpc' | 'open-api'; export declare type Call = (method: Methods, param: Params) => ResultAsync; export declare type Transport = { type: T; call: T extends 'open-api' ? OpenApiClientCall : OpenRPCClientCall; }; export declare type Client = (url: URL) => Transport; export {}; //# sourceMappingURL=_types.d.ts.map