/**
 * Error ring buffer for proxy diagnostics.
 * Stores the last N errors for /doctor to report.
 */
export interface DiagnosticError {
    timestamp: string;
    endpoint: string;
    errorType: string;
    message: string;
    suggestion?: string;
}
export declare function recordError(endpoint: string, errorType: string, message: string, suggestion?: string): void;
export declare function getRecentErrors(count?: number): DiagnosticError[];
export declare function getErrorCount(): number;
export declare function getUptime(): number;
export declare function clearErrors(): void;
export declare function suggestModelFix(requestedModel: string, availableModels: string[]): string | undefined;
