import { Api, ApiClient, ConversationRegion, UnifiedCredentials } from '@sinch/sdk-client'; import { LazyConversationApiClient, LazyConversationTemplateApiClient } from './conversation-service'; export declare const DEFAULT_CONVERSATION_REGION_DEPRECATION_WARNING: string; export declare class ConversationDomainApi implements Api { readonly lazyClient: LazyConversationApiClient | LazyConversationTemplateApiClient; readonly apiName: string; constructor(lazyClient: LazyConversationApiClient | LazyConversationTemplateApiClient, 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 {ConversationRegion} region - The new region to send the requests to */ setRegion(region: ConversationRegion): void; /** * Updates the credentials used to authenticate API requests * @param {UnifiedCredentials} credentials */ setCredentials(credentials: Partial): void; }