import { grpc } from '@improbable-eng/grpc-web';
/**
 * BaseConfig is a set of basic gRPC Proxy configuration options.
 */
export interface BaseConfig {
    /**
     * The local/remote host url.
     */
    host?: string;
    /**
     * The default transport to use when making web-gRPC calls.
     */
    transport?: grpc.TransportFactory;
}
/**
 * Config controls the remote API settings.
 */
export declare class Config {
    /**
     * The local/remote host url.
     */
    host: string;
    /**
     * The default transport to use when making web-gRPC calls.
     */
    transport: grpc.TransportFactory;
    /**
     * The active session token.
     */
    session?: string;
    /**
     * Create a new Config object.
     * @param host The local/remote host url. Defaults to 'https:127.0.0.1:6007'.
     * @param transport The default transport to use when making web-gRPC calls. Defaults to WebSockets.
     */
    constructor(host?: string, transport?: grpc.TransportFactory);
    _wrapMetadata(values?: {
        [key: string]: any;
    }): {
        [key: string]: any;
    } | undefined;
    _wrapBrowserHeaders(values: grpc.Metadata): grpc.Metadata;
}
