UNPKG

@openshift-assisted/ui-lib

Version:

React component library for the Assisted Installer UI

11 lines 672 B
import type { InfraEnv } from '@openshift-assisted/types/assisted-installer-service'; import { CpuArchitecture } from '../../common//types/cpuArchitecture'; type InfraEnvStorage = Omit<Storage, 'getItem' | 'removeItem' | 'setItem'> & { getInfraEnvId(clusterId: string, cpuArchitecture: CpuArchitecture): string | Error; removeInfraEnvId(clusterId: string, cpuArchitecture: CpuArchitecture): void; removeInfraEnvs(clusterId: string): void; updateInfraEnvs(clusterId: string, infraEnvs: InfraEnv[]): void; }; declare const InfraEnvIdsCacheService: InfraEnvStorage; export default InfraEnvIdsCacheService; //# sourceMappingURL=InfraEnvIdsCacheService.d.ts.map