/** * Report unexpected client errors via an injected capture function. * MUST NOT static-import `@sentry/*` — apps inject `captureException` (or equivalent). */ export type CaptureClientErrorFn = (error: unknown, extra?: Record) => void; export interface ReportClientErrorOptions { readonly capture?: CaptureClientErrorFn; readonly extra?: Record; /** When false, skip the unexpected classifier and never capture. Default true. */ readonly onlyUnexpected?: boolean; } /** * Invokes `capture` for unexpected errors only (unless `onlyUnexpected: false`). * No-ops when `capture` is omitted. */ export declare function reportClientError(error: unknown, options?: ReportClientErrorOptions): void; //# sourceMappingURL=reportClientError.d.ts.map