// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "actorQuery.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { ActorQuery } from "./actorQuery";
import type { CountLinesResult } from "./shared";
import type { CountLinesQuery } from "./shared";
import type { ExtractResult } from "./shared";
import type { ExtractQuery } from "./shared";
import type { ElementByMatchResult } from "./shared";
import type { ElementByMatchQuery } from "./shared";
import type { ActorByMatchResult } from "./actorQuery";
import type { ActorByMatchQuery } from "./actorQuery";
import type { ActorByFilterResult } from "./actorQuery";
import type { ActorByFilterQuery } from "./actorQuery";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { ActorByIdResult } from "./actorQuery";
import type { ActorByIdQuery } from "./actorQuery";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 * @generated from protobuf service api.ActorQuery
 */
export interface IActorQueryClient {
    /**
     * @generated from protobuf rpc: GetByIds(api.ActorByIdQuery) returns (api.ActorByIdResult);
     */
    getByIds(input: ActorByIdQuery, options?: RpcOptions): UnaryCall<ActorByIdQuery, ActorByIdResult>;
    /**
     * @generated from protobuf rpc: Find(api.ActorByFilterQuery) returns (api.ActorByFilterResult);
     */
    find(input: ActorByFilterQuery, options?: RpcOptions): UnaryCall<ActorByFilterQuery, ActorByFilterResult>;
    /**
     * @generated from protobuf rpc: FindMatchingFieldValues(api.ActorByMatchQuery) returns (api.ActorByMatchResult);
     */
    findMatchingFieldValues(input: ActorByMatchQuery, options?: RpcOptions): UnaryCall<ActorByMatchQuery, ActorByMatchResult>;
    /**
     * @generated from protobuf rpc: FindMatchingFieldElements(api.ElementByMatchQuery) returns (api.ElementByMatchResult);
     */
    findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall<ElementByMatchQuery, ElementByMatchResult>;
    /**
     * @generated from protobuf rpc: Extract(api.ExtractQuery) returns (api.ExtractResult);
     */
    extract(input: ExtractQuery, options?: RpcOptions): UnaryCall<ExtractQuery, ExtractResult>;
    /**
     * @generated from protobuf rpc: CountLines(api.CountLinesQuery) returns (api.CountLinesResult);
     */
    countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult>;
}
/**
 * @generated from protobuf service api.ActorQuery
 */
export class ActorQueryClient implements IActorQueryClient, ServiceInfo {
    typeName = ActorQuery.typeName;
    methods = ActorQuery.methods;
    options = ActorQuery.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * @generated from protobuf rpc: GetByIds(api.ActorByIdQuery) returns (api.ActorByIdResult);
     */
    getByIds(input: ActorByIdQuery, options?: RpcOptions): UnaryCall<ActorByIdQuery, ActorByIdResult> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<ActorByIdQuery, ActorByIdResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Find(api.ActorByFilterQuery) returns (api.ActorByFilterResult);
     */
    find(input: ActorByFilterQuery, options?: RpcOptions): UnaryCall<ActorByFilterQuery, ActorByFilterResult> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<ActorByFilterQuery, ActorByFilterResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: FindMatchingFieldValues(api.ActorByMatchQuery) returns (api.ActorByMatchResult);
     */
    findMatchingFieldValues(input: ActorByMatchQuery, options?: RpcOptions): UnaryCall<ActorByMatchQuery, ActorByMatchResult> {
        const method = this.methods[2], opt = this._transport.mergeOptions(options);
        return stackIntercept<ActorByMatchQuery, ActorByMatchResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: FindMatchingFieldElements(api.ElementByMatchQuery) returns (api.ElementByMatchResult);
     */
    findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall<ElementByMatchQuery, ElementByMatchResult> {
        const method = this.methods[3], opt = this._transport.mergeOptions(options);
        return stackIntercept<ElementByMatchQuery, ElementByMatchResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Extract(api.ExtractQuery) returns (api.ExtractResult);
     */
    extract(input: ExtractQuery, options?: RpcOptions): UnaryCall<ExtractQuery, ExtractResult> {
        const method = this.methods[4], opt = this._transport.mergeOptions(options);
        return stackIntercept<ExtractQuery, ExtractResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: CountLines(api.CountLinesQuery) returns (api.CountLinesResult);
     */
    countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult> {
        const method = this.methods[5], opt = this._transport.mergeOptions(options);
        return stackIntercept<CountLinesQuery, CountLinesResult>("unary", this._transport, method, opt, input);
    }
}
