import { Api, ApiClient, SmsRegion, UnifiedCredentials, ServicePlanIdCredentials } from '@sinch/sdk-client'; import { LazySmsApiClient } from './sms-service'; export declare class SmsDomainApi implements Api { readonly lazyClient: LazySmsApiClient; readonly apiName: string; constructor(lazyClient: LazySmsApiClient, apiName: string); get client(): ApiClient; /** * Kept for backward compatibility - TODO: remove in future major release * @return {ApiClient} * @deprecated */ getSinchClient(): ApiClient; /** * Update the default hostname for the API * @param {string} hostname - The new hostname to use for the APIs. */ setHostname(hostname: string): void; /** * Update the region in the basePath * @param {SmsRegion} region - The new region to send the requests to */ setRegion(region: SmsRegion): void; /** * Updates the credentials used to authenticate API requests * @param {UnifiedCredentials | ServicePlanIdCredentials} credentials */ setCredentials(credentials: Partial): void; }