import { AccountSidOption, RuntimeDomainOption, XOR } from "@twilio/flex-sdk"; import { Config } from "./state/AppConfig"; export interface PublicConfigAttributes { loginPopup: boolean; } export interface PublicConfiguration { runtime_domain: string; public_attributes?: PublicConfigAttributes; account_sid: string; } export declare function fetchRuntimeDomainInfo(domain: string, mapDomainToLookup?: (domain: string) => string): Promise; export declare function fetchPublicConfiguration(option: XOR, useCache?: boolean): Promise; export declare function getStoredConfig(): Config; export declare function clearStoredConfig(): void; export declare function storeConfig(config: Config): void; export declare function isOutboundCallingEnabled(): boolean; /** * Returns true if the Pause channel feature is enabled * @private * @returns {boolean} * @example * import * as ConfigHelper from "ConfigHelper"; * const isPauseEnabled = ConfigHelper.isPauseEnabled(); */ export declare function isPauseEnabled(): boolean; /** * Returns true if the Leave channel feature is enabled * @private * @returns {boolean} * @example * import * as ConfigHelper from "ConfigHelper"; * const isLeaveEnabled = ConfigHelper.isLeaveEnabled(); * @since 2.9.0 */ export declare function isLeaveEnabled(): boolean; export declare function getInstanceSid(): string; export declare function fetchNewUiConfigurations(version?: string, mobileVersion?: string): Promise; export declare function fetchSalesforceCertificate(version?: string, mobileVersion?: string): Promise; export declare function fetchSalesforceVoiceCallRecords(version?: string, mobileVersion?: string): Promise;