import { ServiceDefinition } from '@grpc/grpc-js'; import { GeneratedServiceClientCtor, SessionConfig, WrappedServiceClientType } from './types'; export declare class Session { private readonly config; private readonly channelCredentials; private readonly tokenCreator; private static readonly DEFAULT_CONFIG; constructor(config?: SessionConfig); get pollInterval(): number; client(clientClass: GeneratedServiceClientCtor, customEndpoint?: string): WrappedServiceClientType; }