UNPKG

wowok

Version:

Wowok Blockchain TypeScript API

32 lines (31 loc) 2.23 kB
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { ListPackageVersionsResponse } from "./move_package_service.js"; import type { ListPackageVersionsRequest } from "./move_package_service.js"; import type { GetFunctionResponse } from "./move_package_service.js"; import type { GetFunctionRequest } from "./move_package_service.js"; import type { GetDatatypeResponse } from "./move_package_service.js"; import type { GetDatatypeRequest } from "./move_package_service.js"; import type { GetPackageResponse } from "./move_package_service.js"; import type { GetPackageRequest } from "./move_package_service.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; export interface IMovePackageServiceClient { getPackage(input: GetPackageRequest, options?: RpcOptions): UnaryCall<GetPackageRequest, GetPackageResponse>; getDatatype(input: GetDatatypeRequest, options?: RpcOptions): UnaryCall<GetDatatypeRequest, GetDatatypeResponse>; getFunction(input: GetFunctionRequest, options?: RpcOptions): UnaryCall<GetFunctionRequest, GetFunctionResponse>; listPackageVersions(input: ListPackageVersionsRequest, options?: RpcOptions): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse>; } export declare class MovePackageServiceClient implements IMovePackageServiceClient, ServiceInfo { private readonly _transport; typeName: string; methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[]; options: { [extensionName: string]: import("@protobuf-ts/runtime").JsonValue; }; constructor(_transport: RpcTransport); getPackage(input: GetPackageRequest, options?: RpcOptions): UnaryCall<GetPackageRequest, GetPackageResponse>; getDatatype(input: GetDatatypeRequest, options?: RpcOptions): UnaryCall<GetDatatypeRequest, GetDatatypeResponse>; getFunction(input: GetFunctionRequest, options?: RpcOptions): UnaryCall<GetFunctionRequest, GetFunctionResponse>; listPackageVersions(input: ListPackageVersionsRequest, options?: RpcOptions): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse>; }