import React from 'react';
import { CpuArchitecture, OpenshiftVersionOptionType } from '../../../common';
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
type OpenShiftVersion = Cluster['openshiftVersion'];
type OpenShiftVersionsContextType = {
    allVersions: OpenshiftVersionOptionType[];
    latestVersions: OpenshiftVersionOptionType[];
    isSupportedOpenShiftVersion: (version: OpenShiftVersion) => boolean;
    getCpuArchitectures: (version: OpenShiftVersion) => CpuArchitecture[];
    error?: {
        title: string;
        message: string;
    };
    loading: boolean;
};
export declare const OpenShiftVersionsContextProvider: ({ children }: {
    children: React.ReactNode;
}) => React.JSX.Element;
export declare const useOpenShiftVersionsContext: () => OpenShiftVersionsContextType;
export {};
//# sourceMappingURL=OpenShiftVersionsContext.d.ts.map