import { CommandProcessor, CLICommand, EnsureAuthValidated } from '../../utils/types.js'; /** * Factory for creating all CLI command instances with appropriate processors */ export declare class CommandFactory { /** * Creates all CLI command instances with appropriate processors * @param executor The command processor to use for most commands that require execution * @param writer The command processor to use for commands that should return text (InitCommand, DependenciesCommand) * @param ensureAuthValidated Single-flight lazy auth-validation trigger * @returns An array of command instances * * Note: AuthCommand is not exposed to MCP clients. Authentication is handled * lazily via environment variables (SN_INSTANCE_URL, SN_AUTH_TYPE) when first needed. * The auth alias is stored in the session and used by all SDK commands. */ static createCommands(executor: CommandProcessor, writer?: CommandProcessor, ensureAuthValidated?: EnsureAuthValidated): CLICommand[]; } //# sourceMappingURL=commandFactory.d.ts.map