import { StytchB2BClient } from '../packages/web/src/b2b/StytchB2BClient.mjs';
import { mountIdentityProvider } from './idpWebComponent.mjs';
import { mount } from './loginWebComponent.mjs';
import { RUN_IN_DEV } from '../packages/core/src/utils/dev.mjs';
import { logger } from '../packages/core/src/utils/logger.mjs';

/**
 * @deprecated - Use Stytch UI web components instead.
 * See {@link StytchB2B} or {@link StytchB2BIdentityProvider}
 */ class StytchB2BUIClient extends StytchB2BClient {
    constructor(publicToken, options){
        super(publicToken, options);
        RUN_IN_DEV(()=>logger.warn('StytchB2BUIClient is deprecated. Use the Stytch web components directly instead.'));
    }
    mount = mount;
    mountIdentityProvider = mountIdentityProvider;
}

export { StytchB2BUIClient };
//# sourceMappingURL=StytchB2BUIClient.mjs.map
