diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index fc29c269..79aa4443 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -14,9 +14,7 @@ export { } from './util'; export { SegmentClient } from './analytics'; export { SegmentDestination } from './plugins/SegmentDestination'; -export { - CategoryConsentStatusProvider, - ConsentPlugin, -} from './plugins/ConsentPlugin'; +export type { CategoryConsentStatusProvider } from './plugins/ConsentPlugin'; +export { ConsentPlugin } from './plugins/ConsentPlugin'; export * from './flushPolicies'; export * from './errors'; diff --git a/packages/core/src/plugins/__tests__/consent/utils.ts b/packages/core/src/plugins/__tests__/consent/utils.ts index c3997968..c6e22d4c 100644 --- a/packages/core/src/plugins/__tests__/consent/utils.ts +++ b/packages/core/src/plugins/__tests__/consent/utils.ts @@ -1,10 +1,10 @@ import { - CategoryConsentStatusProvider, DestinationPlugin, PluginType, SegmentClient, UtilityPlugin, } from '@segment/analytics-react-native'; +import type { CategoryConsentStatusProvider } from '@segment/analytics-react-native'; import { SegmentDestination } from '../../SegmentDestination'; beforeEach(() => {