/**
 * Sync Resilience Audit Logger
 *
 * Append-only JSONL audit log for sync resilience events.
 * Tracks sync attempts (success, failure, skips) with rotation at 5MB.
 *
 * Separate from the existing SyncAuditLogger which tracks per-operation events.
 * This logger tracks per-sync-attempt events from the SyncResilience facade.
 *
 * @module core/sync/sync-resilience-audit-logger
 */
export interface ResilienceAuditEntry {
    timestamp: string;
    incrementId: string;
    provider: string;
    outcome: 'success' | 'failure' | 'skipped_circuit_open' | 'skipped_rate_limit' | 'retry_enqueued';
    error?: string;
    errorStack?: string;
    durationMs?: number;
    attemptNumber?: number;
}
export interface AppendParams {
    incrementId: string;
    provider: string;
    outcome: ResilienceAuditEntry['outcome'];
    error?: string;
    errorStack?: string;
    durationMs?: number;
    attemptNumber?: number;
}
export declare class SyncResilienceAuditLogger {
    private readonly filePath;
    private readonly statePath;
    constructor(options: {
        statePath: string;
    });
    append(params: AppendParams): Promise<void>;
    readRecent(hours: number): Promise<ResilienceAuditEntry[]>;
    private rotateIfNeeded;
    private rotate;
}
//# sourceMappingURL=sync-resilience-audit-logger.d.ts.map