import { OutputFlags } from "@oclif/core/interfaces"; import { AvailableFlagName, RelevantFlagInput } from "./flags.js"; import React from "react"; import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client"; import { Config } from "@oclif/core"; type AppVersion = MittwaldAPIV2.Components.Schemas.AppAppVersion; type AppInstallation = MittwaldAPIV2.Components.Schemas.AppAppInstallation; type ImplicitDefaultFlag = "wait" | "wait-timeout" | "site-title" | "install-path" | "update-context"; export interface AppInstallationResult { appInstallation: AppInstallation; appVersion: AppVersion; host?: string; } export declare class AppInstaller { readonly appId: string; readonly appName: string; readonly appSupportedFlags: readonly TFlagName[]; readonly defaultFlagValues: Partial>; readonly description: string; mutateFlags?: (flags: RelevantFlagInput) => unknown; private static makeDescription; constructor(appId: string, appName: string, appSupportedFlags: readonly TFlagName[], defaultFlagValues?: Partial>); get flags(): RelevantFlagInput; exec(apiClient: MittwaldAPIV2Client, args: { [k: string]: unknown; }, flags: OutputFlags>, config: Config): Promise; private resolveSystemSoftware; render(result: AppInstallationResult, flags: { quiet: boolean; }): React.ReactNode; } export {};