import type { MethodInfo, ServiceType } from "@bufbuild/protobuf"; /** * Create a URL for the given RPC. This simply adds the qualified * service name, a slash, and the method name to the path of the given * baseUrl. * * For example, the baseUri https://example.com and method "Say" from * the service example.ElizaService results in: * https://example.com/example.ElizaService/Say * * This format is used by the protocols Connect, gRPC and Twirp. * * Note that this function also accepts a protocol-relative baseUrl. * If given an empty string or "/" as a baseUrl, it returns just the * path. */ export declare function createMethodUrl(baseUrl: string | URL, service: ServiceType | string, method: MethodInfo | string): string;