import { Observable, Subject } from "rxjs"; import { SiteUpgradeRecord } from "./types/user-upgrade"; import * as i0 from "@angular/core"; export declare class SiteUpgradeService { siteSetForCollectAndBuildWebexCache: number[] | undefined; cucmSetInCollectAndBuildWebexCache: number[] | undefined; siteUpdateStatusEvent: Subject; private apiService; customerId: string; getSiteUpgradeStatusCounts(): Observable; getSiteUpgradeRecords(): Observable; getBatchSites(): Observable; collectSiteCache(siteId: number, migrationType?: string): Observable; migrateSite(siteId: string, batchId: string): Observable; getBatchesStatuses(batchIds: string[]): Observable; getSiteListForCollectAndBuildWebexCache(): Observable; getCUCMListCurrentlyInCollectAndBuildWebexCache(): Observable; getMigrationBatchesStatuses(): Observable; getMigratedSiteStatus(pageSize: number, page: number): Observable; upgradeSite(site: SiteUpgradeRecord): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export interface BatchStatusDTO { id: number; status: string; progress: number; migErrorsCount: string; } export declare const STATUSES: { COMPLETED: string; NEW: string; IN_PROGRESS: string; FAILED_IN_ERROR: string; FAILED: string; FAILED_WITH_RETRY: string; COLLECTING: string; FAILED_COLLECTING: string; WAITING_FOR_REVIEW: string; }; export interface WebexMigratedSiteStatusInterface { site?: { id: number; name: string; }; migrationFormStatus: string; } export interface SiteMigrationProgressInterface { id: number; status: string; progress: number; migErrorsCount: number | null; } export interface MigrationBatch { id: number; sourceId: number; targetId: number; name: string; sourceIp: string; sourceCucIp: string | null; targetIp: string | null; size: number; status: string; suggestedDestination: string | null; destination: string | null; regionName: string | null; progress: number; migrationProcessUUID: string | null; customerId: number; owner: string | null; date: string | null; comments: string | null; siteId: number; planUUID: string; comparisonProcessUUID: string | null; type: string; migErrorsCount: number | null; sourceCucId: number | null; targetCucId: number | null; sites: unknown | null; serverType: string; migrationFormId: number; hasValidationErrors: boolean; }