import { ReactNode } from "react"; import { ExecRenderBaseCommand } from "../../lib/basecommands/ExecRenderBaseCommand.js"; import { MittwaldAPIV2 } from "@mittwald/api-client"; type ContainerServiceResponse = MittwaldAPIV2.Components.Schemas.ContainerServiceResponse; type Result = { service: ContainerServiceResponse; }; export declare class Run extends ExecRenderBaseCommand { static summary: string; static strict: boolean; static usage: string; static flags: { env: import("@oclif/core/interfaces").OptionFlag; "env-file": import("@oclif/core/interfaces").OptionFlag; description: import("@oclif/core/interfaces").OptionFlag; entrypoint: import("@oclif/core/interfaces").OptionFlag; name: import("@oclif/core/interfaces").OptionFlag; publish: import("@oclif/core/interfaces").OptionFlag; "publish-all": import("@oclif/core/interfaces").BooleanFlag; volume: import("@oclif/core/interfaces").OptionFlag; "create-volumes": import("@oclif/core/interfaces").BooleanFlag; cpus: import("@oclif/core/interfaces").OptionFlag; memory: import("@oclif/core/interfaces").OptionFlag; "project-id": import("@oclif/core/interfaces").OptionFlag; quiet: import("@oclif/core/interfaces").BooleanFlag; }; static args: { image: import("@oclif/core/interfaces").Arg>; command: import("@oclif/core/interfaces").Arg>; args: import("@oclif/core/interfaces").Arg>; }; protected exec(): Promise; private addServiceToStack; /** * Gets the list of named volumes that need to be created. * * @param stackId The stack ID to check existing volumes against * @returns Array of volume names that need to be created */ private getVolumesToCreate; /** * Builds and returns the container command based on the provided image * metadata and arguments. * * @param imageMeta The configuration object containing the metadata of the * container image, including the default command. * @returns An array of strings representing the container command to execute, * or undefined if no specific command is set. */ private buildContainerCommand; /** * Builds the deploy.resources structure from command line flags * * @returns The deploy configuration with resource limits, or undefined if no * limits are specified */ private buildDeployResources; /** * Builds a container service request from command line arguments and image * metadata * * @param image The container image to use * @param imageMeta Metadata about the container image * @param serviceName Name of the service to create * @returns A properly formatted container service request */ private buildServiceRequest; private getImageAndMeta; private getServiceName; protected render({ service }: Result): ReactNode; } export {};