import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; import { I as InternalConfig } from './index-CmHNkJsj.js'; import { ErrorTrackingOptions } from './error-tracking.js'; import { Q as QaMeterConfig, F as FeedbackApi } from './types-CfSqqfkw.js'; import './types-CRbb2Pp0.js'; interface FeedbackProviderProps extends InternalConfig { children?: ReactNode; /** * Opt-in QA Meter second FAB — set `qaMeter={{ source: '/qa-status.json' }}`. * Inherited from FeedbackConfig and forwarded via `...config`; redeclared * here so editors surface the docs on hover. */ qaMeter?: QaMeterConfig; /** * Auto-capture uncaught errors + unhandled rejections as synthetic * reports (see `withErrorTracking`). On by default — the happy path is * batteries-included. 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 | null; declare function useFeedback(): FeedbackApi; export { FeedbackProvider, useFeedback };