import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; import { ErrorTrackingOptions } from '../error-tracking.js'; import { a as FeedbackConfig, F as FeedbackApi } from '../types-CfSqqfkw.js'; import '../types-CRbb2Pp0.js'; interface FeedbackProviderProps extends FeedbackConfig { children?: ReactNode; /** * Auto-capture uncaught errors + unhandled rejections as synthetic * reports. On the loader path the runtime bundle arms this itself, so we * DON'T wrap host-side (that would double-register, once on the deferred * handle and once on the real instance). Instead we forward the host's * preference to the bundle. Leave it unset to let the project's manifest * flag decide (which itself defaults on); pass `false` to opt out, or an * options object to tune the cooldown / sampling / rate caps. */ errorTracking?: boolean | ErrorTrackingOptions; } declare function FeedbackProvider({ children, errorTracking, ...config }: FeedbackProviderProps): react_jsx_runtime.JSX.Element; declare function useFeedback(): FeedbackApi; export { FeedbackProvider, useFeedback };