import { CloudApiClient, clearStoredAuth, type StoredAuth } from '@agent-relay/cloud'; import { clearActiveWorkspace, clearStoredWorkspaceToken, createTerminalIO, type DeployOptions } from '@agentworkforce/deploy'; type LoginApiClient = Pick; type DeployCommandDeps = { ensureCloudSession(options?: { apiUrl?: string; force?: boolean; interactive?: boolean; }): Promise<{ auth: StoredAuth; }>; clearStoredAuth: typeof clearStoredAuth; clearStoredWorkspaceToken: typeof clearStoredWorkspaceToken; clearActiveWorkspace: typeof clearActiveWorkspace; setWorkspaceKey(name: string, key: string): unknown | Promise; createTerminalIO: typeof createTerminalIO; createCloudApiClient(auth: StoredAuth, apiUrl: string): LoginApiClient; }; export declare function configureDeployCommandForTest(overrides: Partial): () => void; /** * Argv parser + dispatcher for `agentworkforce deploy [flags]`. * Keeps cli.ts itself slim — the file is already a large dispatcher and * each command lands in its own module when it grows past trivial. */ export declare function runDeploy(args: readonly string[]): Promise; /** #158: omitted mode is deterministic in TTY and non-interactive callers. */ export declare function withDefaultDeployMode(opts: DeployOptions): DeployOptions; /** * Authored source support is version-sensitive. Include the implementation * version and its actual package source when a .ts/.js persona fails so a * PATH-selected stale global install is distinguishable from a source error. * The path is intentionally user-visible local diagnostic evidence; install * consistency errors in the top-level wrapper remain path-free. */ export declare function formatDeployFailure(personaPath: string, error: unknown, packageJsonUrl?: URL): string; export declare function runLogin(args: readonly string[]): Promise; export declare function runLogout(args: readonly string[]): Promise; export declare function parseDeployArgs(args: readonly string[]): DeployOptions; export {}; //# sourceMappingURL=deploy-command.d.ts.map