/** * Headless Setup Workflow * * Plain-text setup for headless/SSH/small-terminal environments. * Alternative to the TUI wizard. * * Two modes (Phase 4.5, audit cli-headless F11): * - Interactive (default): readline Q&A; flag values become prompt defaults. * - Non-interactive (`--yes`): no prompting at all — flags + defaults are * accepted as-is, suitable for Docker/Ansible/cloud-init provisioning * (`pluginator setup --headless --prod-path ... --test-path ... --yes`). * * @since v2.3.12 */ import { type SetupConfig } from '../core/types/setup.js'; /** Flag-driven inputs for {@link runHeadlessSetup} (Phase 4.5) */ export interface HeadlessSetupOptions { /** Production plugins path (`--prod-path`) */ prodPath?: string; /** Test plugins path (`--test-path`) */ testPath?: string; /** Minecraft version (`--mc-version`) */ mcVersion?: string; /** Server type id (`--server-type`, e.g. paper) */ serverType?: string; /** Accept flags/defaults without prompting (`--yes`) */ yes?: boolean; /** Skip the existing-plugin scan (non-interactive mode only) */ skipScan?: boolean; } /** * Run the headless setup flow. * * Interactive Q&A by default; fully non-interactive when `options.yes` is * set (flags/defaults accepted as-is — see module doc). Flag values become * prompt defaults in interactive mode. * * Returns a SetupConfig compatible with initializeDataFiles() */ export declare function runHeadlessSetup(options?: HeadlessSetupOptions): Promise; //# sourceMappingURL=headless-setup.d.ts.map