import { StatsigOptions } from './StatsigOptions'; import { StatsigContext } from './utils/StatsigContext'; export declare const ExceptionEndpoint = "https://statsigapi.net/v1/sdk_exception"; export default class ErrorBoundary { private sdkKey; private optionsLoggingCopy; private statsigMetadata; private seen; private networkOverrideFunc; constructor(sdkKey: string, optionsLoggingCopy: StatsigOptions, sessionID: string); swallow(task: (ctx: StatsigContext) => T, ctx: StatsigContext): void; capture(task: (ctx: C) => T, recover: (ctx: C, e: unknown) => T, ctx: C): T; setup(sdkKey: string): void; private onCaught; logError(error: unknown, ctx: StatsigContext): void; private getDescription; private beginMarker; private endMarker; }