// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "metadataInput.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { MetadataInputAPI } from "./metadataInput";
import type { MetadataDeletedResponse } from "./metadataInput";
import type { MetadataDeletedRequest } from "./metadataInput";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { MetadataCreatedResponse } from "./metadataInput";
import type { MetadataCreatedRequest } from "./metadataInput";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 *
 * API-server services
 *
 * @generated from protobuf service api.MetadataInputAPI
 */
export interface IMetadataInputAPIClient {
    /**
     * @generated from protobuf rpc: Created(api.MetadataCreatedRequest) returns (api.MetadataCreatedResponse);
     */
    created(input: MetadataCreatedRequest, options?: RpcOptions): UnaryCall<MetadataCreatedRequest, MetadataCreatedResponse>;
    /**
     * @generated from protobuf rpc: Deleted(api.MetadataDeletedRequest) returns (api.MetadataDeletedResponse);
     */
    deleted(input: MetadataDeletedRequest, options?: RpcOptions): UnaryCall<MetadataDeletedRequest, MetadataDeletedResponse>;
}
/**
 *
 * API-server services
 *
 * @generated from protobuf service api.MetadataInputAPI
 */
export class MetadataInputAPIClient implements IMetadataInputAPIClient, ServiceInfo {
    typeName = MetadataInputAPI.typeName;
    methods = MetadataInputAPI.methods;
    options = MetadataInputAPI.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * @generated from protobuf rpc: Created(api.MetadataCreatedRequest) returns (api.MetadataCreatedResponse);
     */
    created(input: MetadataCreatedRequest, options?: RpcOptions): UnaryCall<MetadataCreatedRequest, MetadataCreatedResponse> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<MetadataCreatedRequest, MetadataCreatedResponse>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Deleted(api.MetadataDeletedRequest) returns (api.MetadataDeletedResponse);
     */
    deleted(input: MetadataDeletedRequest, options?: RpcOptions): UnaryCall<MetadataDeletedRequest, MetadataDeletedResponse> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<MetadataDeletedRequest, MetadataDeletedResponse>("unary", this._transport, method, opt, input);
    }
}
