import type * as Sentry from '@sentry/browser'; import type * as SentryChunk from '../zotlo-sentry'; export declare function toCapturableError(err: unknown): unknown; interface ApiErrorFields { name: string; method: string; endpoint: string; type: string; status: number; elapsedMs: number; attempt: number; clientRequestId: string; unloading: boolean; online: boolean; visibility: string; errorCode: string; httpStatus: number; } export declare const Logger: { client: Sentry.BrowserClient | undefined; scope: Sentry.Scope | undefined; getSentry(): (typeof SentryChunk | undefined); getEnv(): "development" | "staging" | "production"; getConfig(): ConstructorParameters[0]; getSentryScriptUrls(): string[]; loadScript(src: string): Promise; initSentryOnBrowser(): void; setTag(key: string, value: string): void; captureException(err: unknown, hint?: Parameters[1]): string | undefined; holdRequestError(err: Partial, hint?: Parameters[1]): string | undefined; addBreadcrumb(breadcrumb: Sentry.Breadcrumb): void; wrap any>(fn: T): T; loadSentry(): Promise; }; export {};