import type { Secrets } from "./env.js"; type Failure = "invalid_dsn" | "disabled" | "busy" | "rate_limited" | "transport_error" | "timeout" | "rejected"; /** No message, cause chain, logger fields, hostname, request, environment dump, or job data leaves the daemon. */ export declare class DaemonSentry { private readonly options; private readonly pending; private blockedUntil; private lastError; private readonly fetchImpl; constructor(options: { secrets: () => Secrets; version: string; fetchImpl?: typeof fetch; }); private settings; status(): { enabled: boolean; configured: boolean; pending: number; rate_limited: boolean; last_error?: Failure; }; capture(operation: string, cause?: unknown): string | undefined; private send; flush(timeoutMs?: number): Promise; verify(): Promise<{ enabled: boolean; event_id?: string; delivered: boolean; error?: string; }>; } export {};