// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "go-ape.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { GoAPEService } from "./go-ape";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { GoAPEGenerateResult } from "./go-ape";
import type { GoAPEGenerateRequest } from "./go-ape";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 * @generated from protobuf service api.GoAPEService
 */
export interface IGoAPEServiceClient {
    /**
     * @generated from protobuf rpc: Generate(api.GoAPEGenerateRequest) returns (api.GoAPEGenerateResult);
     */
    generate(input: GoAPEGenerateRequest, options?: RpcOptions): UnaryCall<GoAPEGenerateRequest, GoAPEGenerateResult>;
}
/**
 * @generated from protobuf service api.GoAPEService
 */
export class GoAPEServiceClient implements IGoAPEServiceClient, ServiceInfo {
    typeName = GoAPEService.typeName;
    methods = GoAPEService.methods;
    options = GoAPEService.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * @generated from protobuf rpc: Generate(api.GoAPEGenerateRequest) returns (api.GoAPEGenerateResult);
     */
    generate(input: GoAPEGenerateRequest, options?: RpcOptions): UnaryCall<GoAPEGenerateRequest, GoAPEGenerateResult> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<GoAPEGenerateRequest, GoAPEGenerateResult>("unary", this._transport, method, opt, input);
    }
}
