export interface SwallowedFailure {
    /** Short label identifying the call site (e.g. "emitEvent", "saveSettingsToDisk"). */
    label: string;
    /** Stringified error message. */
    message: string;
    /** ISO timestamp the failure was recorded. */
    at: string;
    /** Optional structured context the caller passed alongside. */
    meta?: Record<string, unknown>;
}
/**
 * Record a swallowed promise rejection. Always succeeds; never throws.
 * Use directly inside `.catch(...)` blocks, e.g.
 *   somePromise().catch((err) => recordSwallowed('emitEvent', err))
 */
export declare function recordSwallowed(label: string, error: unknown, meta?: Record<string, unknown>): void;
/** Return a shallow copy of the current ring buffer, oldest first. */
export declare function getSwallowedFailures(): SwallowedFailure[];
/** Total swallowed-failure count since process start (post-buffer-trim count). */
export declare function getSwallowedFailureCount(): number;
/** Number of swallowed failures dropped from the ring buffer due to overflow. */
export declare function getSwallowedFailureDroppedCount(): number;
/** Total number of swallowed failures recorded since process start (including dropped). */
export declare function getSwallowedFailureTotalCount(): number;
/** Clear the buffer. Only intended for tests. */
export declare function _resetSwallowedFailuresForTest(): void;
//# sourceMappingURL=silentFailureSink.d.ts.map