/** * Deploy command - Create a release and deploy to an environment * * Creates a new release from the specified branch, or main when no branch is * specified, then deploys it to the target environment (default: production). * * @module cli/commands/deploy */ import type { InferSchema } from "../../../src/extensions/schema/index.js"; import { type DeployProject } from "../../shared/deployment/deploy-project.js"; import type { DeployResult } from "../../shared/deployment/result.js"; /** * Schema factory for deploy command arguments */ export declare const getDeployArgsSchema: () => import("../../../src/internal-agents/schema.js").Schema; projectDir: import("../../../src/internal-agents/schema.js").Schema; branch: import("../../../src/internal-agents/schema.js").Schema; env: import("../../../src/internal-agents/schema.js").Schema; releaseName: import("../../../src/internal-agents/schema.js").Schema; dryRun: import("../../../src/internal-agents/schema.js").Schema; /** Deprecated compatibility flag; invoking deploy already authorizes the operation. */ force: import("../../../src/internal-agents/schema.js").Schema; /** Quiet mode - suppress spinner/progress output */ quiet: import("../../../src/internal-agents/schema.js").Schema; /** Internal option used by commands that already pushed source. */ skipSourcePush: import("../../../src/internal-agents/schema.js").Schema; }>>; export declare const DeployArgsSchema: import("../../../src/internal-agents/schema.js").Schema; projectDir: import("../../../src/internal-agents/schema.js").Schema; branch: import("../../../src/internal-agents/schema.js").Schema; env: import("../../../src/internal-agents/schema.js").Schema; releaseName: import("../../../src/internal-agents/schema.js").Schema; dryRun: import("../../../src/internal-agents/schema.js").Schema; /** Deprecated compatibility flag; invoking deploy already authorizes the operation. */ force: import("../../../src/internal-agents/schema.js").Schema; /** Quiet mode - suppress spinner/progress output */ quiet: import("../../../src/internal-agents/schema.js").Schema; /** Internal option used by commands that already pushed source. */ skipSourcePush: import("../../../src/internal-agents/schema.js").Schema; }>>; /** * Deploy command options (inferred from schema) */ type ParsedDeployOptions = InferSchema>; export type DeployOptions = Omit & { skipSourcePush?: boolean; /** Deploy Execution override for tests; production uses createDeployProject(). */ deployProject?: DeployProject; }; /** * Parse CLI arguments into validated DeployOptions */ export declare const parseDeployArgs: (args: import("../../shared/types.js").ParsedArgs) => import("../../shared/args.js").SafeParseResult; projectDir: import("../../../src/internal-agents/schema.js").Schema; branch: import("../../../src/internal-agents/schema.js").Schema; env: import("../../../src/internal-agents/schema.js").Schema; releaseName: import("../../../src/internal-agents/schema.js").Schema; dryRun: import("../../../src/internal-agents/schema.js").Schema; /** Deprecated compatibility flag; invoking deploy already authorizes the operation. */ force: import("../../../src/internal-agents/schema.js").Schema; /** Quiet mode - suppress spinner/progress output */ quiet: import("../../../src/internal-agents/schema.js").Schema; /** Internal option used by commands that already pushed source. */ skipSourcePush: import("../../../src/internal-agents/schema.js").Schema; }>>; /** * Environment from the API */ export type { DeployResult }; /** * Create a release and deploy to an environment */ export declare function deployCommand(options: DeployOptions): Promise; //# sourceMappingURL=command.d.ts.map