import fs from 'node:fs'; import path from 'node:path'; import { spawn } from 'node:child_process'; import type { Command } from 'commander'; type Spinner = { start(text?: string): Spinner; succeed(text?: string): void; fail(text?: string): void; warn(text?: string): void; info(text?: string): void; stop(): void; text: string; }; type LoggerLike = { info: (msg: string) => void; warning: (msg: string) => void; success: (msg: string) => void; error: (msg: string) => void; }; export type ConfigCommandContext = { logger: LoggerLike; createSpinner: (text: string) => Promise; getHomeDir?: () => string; fsImpl?: Pick; pathImpl?: Pick; spawnImpl?: typeof spawn; env?: Record; log?: (line: string) => void; prompt?: (question: string) => Promise; findListeningPids?: (port: number) => number[]; sendSignal?: (pid: number, signal: NodeJS.Signals) => void; loadProviderConfigsV2?: () => Promise; }>>; }; export declare function createConfigCommand(program: Command, ctx: ConfigCommandContext): void; export {};