import { FeedbackModalIntegration, Integration, IntegrationFn } from '@sentry/core'; import { ActorComponent } from './components/Actor'; import { OverrideFeedbackConfiguration } from './types'; type Unsubscribe = () => void; /** * Allow users to capture user feedback and send it to Sentry. */ type BuilderOptions = { lazyLoadIntegration?: never; getModalIntegration: () => IntegrationFn; getScreenshotIntegration: () => IntegrationFn; } | { lazyLoadIntegration: (name: 'feedbackModalIntegration' | 'feedbackScreenshotIntegration', scriptNonce?: string) => Promise; getModalIntegration?: never; getScreenshotIntegration?: never; }; export declare const buildFeedbackIntegration: ({ lazyLoadIntegration, getModalIntegration, getScreenshotIntegration, }: BuilderOptions) => IntegrationFn>; createWidget(optionOverrides?: OverrideFeedbackConfiguration): ActorComponent; remove(): void; }>; export {}; //# sourceMappingURL=integration.d.ts.map