import { SalesforceLiveAgentProvider } from "./providers/salesforce";
export class LiveAgentProvider {
    constructor() { }
    static getProvider(provider) {
        switch (provider !== null && provider !== void 0 ? provider : this.provider) {
            case "salesforce":
                this.providerInstance = new SalesforceLiveAgentProvider();
                break;
            default:
                throw new Error("Unsupported Live Agent provider");
        }
        return this.providerInstance;
    }
}
LiveAgentProvider.provider = "salesforce";
