import { Expression, Session } from "@gatling.io/core"; import { GrpcUnaryServiceBuilder } from "./unary"; export * from "./bidiStream"; export * from "./checks"; export * from "./clientStream"; export * from "./grpc"; export * from "./protocol"; export * from "./serverConfiguration"; export * from "./serverStream"; export * from "./unary"; import { GrpcBidirectionalStreamingServiceBuilder } from "./bidiStream"; import { GrpcClientStreamingServiceBuilder } from "./clientStream"; import { GrpcProtocolBuilder } from "./protocol"; import { GrpcServerStreamingServiceBuilder } from "./serverStream"; export declare namespace Grpc { interface Apply { (requestName: string): Grpc; (requestName: (session: Session) => string): Grpc; } const apply: (requestName: Expression) => Grpc; } export interface Grpc { unary(fullMethodName: string): GrpcUnaryServiceBuilder; serverStream(fullMethodName: string): GrpcServerStreamingServiceBuilder; serverStream(fullMethodName: string, streamName: string): GrpcServerStreamingServiceBuilder; clientStream(fullMethodName: string): GrpcClientStreamingServiceBuilder; clientStream(fullMethodName: string, streamName: string): GrpcClientStreamingServiceBuilder; bidiStream(fullMethodName: string): GrpcBidirectionalStreamingServiceBuilder; bidiStream(fullMethodName: string, streamName: string): GrpcBidirectionalStreamingServiceBuilder; } export declare const grpc: Grpc.Apply & GrpcProtocolBuilder;