/** One child process the starter runs. The name is what the reader sees when it fails. */ export interface Command { name: string; command: string; args: string[]; /** Working folder; the folder the reader started in when omitted. */ cwd?: string; /** Extra environment variables for this process only. */ env?: Record; } export interface DownloadItem { /** Path inside the repository and inside the install folder. */ path: string; url: string; } /** The tools the Docker install needs. */ export declare function dockerChecks(): Command[]; /** The tools the source install needs besides Node.js. */ export declare function sourceChecks(): Command[]; /** The files of the release that docker-compose.production.yml needs to start. */ export declare function dockerDownloads(ref: string): DownloadItem[]; /** * The setup wizard in a short-lived container (docs/deployment.md section 2.4). The port is * published to 127.0.0.1 only. `hostUser` is `uid:gid` of the person running the starter (null on * Windows). The folder is mounted at /setup, where the wizard writes * .env.production. */ export declare function wizardCommand(folder: string, ref: string, tty: boolean, hostUser?: string | null): Command; /** The compose arguments every later command repeats. */ export declare function composeBase(): string[]; /** Starts the stack (docs/deployment.md section 2.5), on the image version of the release. */ export declare function composeUpCommand(folder: string, ref: string): Command; /** The commands of the source install: clone the release, pnpm through corepack, the wizard. */ export declare function sourceCommands(folder: string, ref: string): Command[]; /** A command as one line for the reader. */ export declare function describeCommand(command: Command): string; /** Where the wizard writes the settings file of the Docker install. */ export declare function settingsPath(folder: string): string;