import { Api, ApiClient, ApplicationCredentials, VoiceRegion } from '@sinch/sdk-client'; import { LazyVoiceApiClient, LazyVoiceApplicationManagementApiClient } from './voice-service'; export declare class VoiceDomainApi implements Api { /** @internal */ readonly lazyClient: LazyVoiceApiClient | LazyVoiceApplicationManagementApiClient; /** @internal */ readonly apiName: string; /** @internal */ constructor( /** @internal */ lazyClient: LazyVoiceApiClient | LazyVoiceApplicationManagementApiClient, /** @internal */ apiName: string); /** @internal */ get client(): ApiClient; /** * Kept for backward compatibility - TODO: remove in future major release * @return {ApiClient} * @deprecated */ /** @internal */ getSinchClient(): ApiClient; /** * Update the default hostname for the API * @param {string} hostname - The new hostname to use for the APIs. */ /** @internal */ setHostname(hostname: string): void; /** * Update the region in the hostname * @param {VoiceRegion} region - The new region to send the requests to */ /** @internal */ setRegion(region: VoiceRegion): void; /** * Updates the application credentials used to authenticate API requests * @param {ApplicationCredentials} credentials */ /** @internal */ setCredentials(credentials: Partial): void; /** * @deprecated Use setCredentials instead */ /** @internal */ setApplication(credentials: ApplicationCredentials): void; }