import type { Metadata } from 'grpc-web'; import { type GlobularConfig, type ServiceLocator } from './config'; export { http } from './http'; export type { GlobularConfig, ServiceLocator } from './config'; declare class Globular { get config(): GlobularConfig; setConfig(next: Partial): void; setServiceLocator(locator: ServiceLocator): void; metadata(extra?: Metadata): Promise; client(serviceId: string, Ctor: new (hostname: string, credentials: null, options: { [key: string]: any; }) => TClient, opts?: { withCredentials?: boolean; format?: 'text' | 'binary'; endpointOverride?: string; serviceLocator?: ServiceLocator; }): TClient; } export declare const globular: Globular; export declare const setConfig: (next: Partial) => void;