import { CommandProcessor, CommandResult } from '../../utils/types.js'; /** * Generates command text without executing — used for interactive commands * that should be run manually (e.g., InitCommand, DependenciesCommand). * * This is the one place a shell sees the argv: a person runs the text. Every * entry is therefore shell-escaped here (POSIX, `shellQuote`), after the * command has encoded it for yargs (`cliOption`), so the shell hands the CLI * exactly the argv the command built. Commands never quote for the shell. * * The SDK CLI works in its process cwd (`now-sdk init` writes the new project * there), so the text enters the project directory itself rather than leaving * that to whoever runs it: `cd '' && `. Both the SDK's key * provider and effective credential-store directory (resolved custom * `SN_SDK_CREDENTIALS_DIR` or default `~/.now-sdk`) are always pinned on the * command so a user's terminal environment or `cwd` cannot redirect an alias * to a different store/instance than the one MCP validated. The matching env * key must come from the terminal. */ export declare class CLICmdWriter implements CommandProcessor { /** * Return the shell text of the command, without running it. The writer * spawns nothing, so it takes no timeout, signal or run options. */ process(command: string, args: string[], cwd?: string): Promise; } //# sourceMappingURL=cliCmdWriter.d.ts.map