export interface WhmcsApiConfig {
  baseUrl: string;
  identifier: string;
  secret: string;
  timeout?: number;
  retryAttempts?: number;
  retryDelay?: number;
}

export interface WhmcsRequestOptions {
  timeout?: number;
  retryAttempts?: number;
  retryDelay?: number;
}

export interface WhmcsRetryConfig {
  maxAttempts: number;
  baseDelay: number;
  maxDelay: number;
  backoffMultiplier: number;
}

export interface WhmcsConnectionStats {
  totalRequests: number;
  successfulRequests: number;
  failedRequests: number;
  averageResponseTime: number;
  lastRequestTime?: Date;
  lastErrorTime?: Date;
}
