import { CallOptions } from '@grpc/grpc-js'; import { RunnerClient } from '../proto/runner_grpc_pb'; import { Job } from '../proto/runner_pb'; /** The Runner gRPC client. */ export interface Client { /** Gets the client. */ get(): RunnerClient; /** Must be called prior to making an RPC called. */ start(): void; /** Closes the channel. */ close(): void; /** Waits for the client to be ready. */ waitForReady(): void; } export declare function createClient(): ClientImpl; /** The options for non-stream RPCs. */ export declare function getDefaultRpcOptions(): CallOptions; /** The options for stream RPCs. */ export declare function getStreamRpcOptions(): CallOptions; /** Provides the Job object, which is used by server to identify the current job. */ export declare function getJob(): Job; declare class ClientImpl implements Client { get(): RunnerClient; start(): void; close(): void; waitForReady(): Promise; private client; } export {};