import type { IComputedValue } from "mobx";
import type { SingleValue } from "react-select";
import type { HelmChartVersion } from "../../helm-charts/helm-charts/versions";
import type { HelmRelease } from "../../../../common/k8s-api/endpoints/helm-releases.api";
import type { AsyncResult } from "@openlens/utilities";
import type { SelectOption } from "../../select";
export interface UpgradeChartModel {
    readonly release: HelmRelease;
    readonly versionOptions: IComputedValue<SelectOption<HelmChartVersion>[]>;
    readonly configuration: {
        readonly value: IComputedValue<string>;
        set: (value: string) => void;
        readonly error: IComputedValue<string | undefined>;
        setError: (error: unknown) => void;
    };
    readonly version: {
        readonly value: IComputedValue<HelmChartVersion | undefined>;
        set: (value: SingleValue<SelectOption<HelmChartVersion>>) => void;
    };
    submit: () => AsyncResult<void, string>;
}
declare const upgradeChartModelInjectable: import("@ogre-tools/injectable").Injectable<Promise<UpgradeChartModel>, unknown, Required<import("../dock/store").DockTabCreate>>;
export default upgradeChartModelInjectable;
