import { ApiFetchClient, LazyApiClient, SinchClientParameters, UnifiedCredentials } from '@sinch/sdk-client'; import { BatchesApi } from './batches'; import { CallsApi } from './calls'; import { ServicesApi } from './services'; import { SessionsApi } from './sessions'; import { SvamlApi } from './svaml'; /** Default global hostname from the Voice v2 OAS `servers` list. */ export declare const DEFAULT_VOICE_V2_HOSTNAME = "https://voice.api.sinch.com"; /** @internal */ export declare class LazyVoiceV2ApiClient extends LazyApiClient { hostnameOverride?: string; getApiClient(): ApiFetchClient; setHostname(hostname: string): void; private resolveHostname; } /** * The Voice v2 Service exposes the following APIs: * - calls * - batches * - sessions * - services * - svaml */ export declare class VoiceV2Service { readonly calls: CallsApi; readonly batches: BatchesApi; readonly sessions: SessionsApi; readonly services: ServicesApi; readonly svaml: SvamlApi; /** @internal */ readonly lazyClient: LazyVoiceV2ApiClient; /** @internal */ constructor(params: SinchClientParameters); setApiClientConfig(newParams: SinchClientParameters): void; /** * Update the default hostname for Voice v2 APIs * @param {string} hostname - The new hostname to use for all Voice v2 APIs. */ setHostname(hostname: string): void; setCredentials(credentials: Partial): void; }