import type { TelemetryBackoffConfig, TelemetryConfig } from "./types.js"; /** * Single source of truth for telemetry soft caps + backoff. Kept as config * *defaults* (not hardcoded flush logic) so later work reads config, not * literals. Exported so the `client.ts` consumer resolves the same values. */ export declare const TELEMETRY_DEFAULTS: { readonly maxEventsPerBatch: number; readonly maxBodyBytes: number; readonly maxPendingRetryBatches: number; readonly backoff: Readonly; }; /** Caller-supplied overrides for the additive caps + backoff surface. */ export type TelemetryConfigOverrides = Partial>; /** * Fully-resolved caps + backoff — every field is present (defaults applied), so * `client.ts` can consume them without re-defaulting. `TelemetryConfig`'s own * cap fields stay optional (additive wire surface); this is the resolved view. */ export interface ResolvedTelemetryCaps { maxEventsPerBatch: number; maxBodyBytes: number; maxPendingRetryBatches: number; backoff: TelemetryBackoffConfig; } /** * Resolves soft caps + backoff, applying `TELEMETRY_DEFAULTS` for any field the * caller did not override. One source of truth for both the config surface and * the `client.ts` consumer. */ export declare function resolveCaps(overrides?: TelemetryConfigOverrides): ResolvedTelemetryCaps; export declare function resolveTelemetryConfig(fileConfig?: { enabled?: boolean; } & TelemetryConfigOverrides): TelemetryConfig; //# sourceMappingURL=config.d.ts.map