import { Observable } from "rxjs"; export type CircuitBreakerOptions = { successThreshold?: number; failureThreshold?: number; openToHalfOpenWaitTime?: number; messageError?: string; fallback?: (status?: any) => Observable | any; };