import z from "zod"; import { type DeploymentState } from "../lib/deployment-lifecycle.js"; /** Options accepted by the deployment command. */ declare const deployOptsSchema: z.ZodObject<{ dir: z.ZodOptional; allowEmpty: z.ZodDefault; cancelExisting: z.ZodDefault; cliAuthorization: z.ZodDefault; rebindAccounts: z.ZodDefault; skipTypecheck: z.ZodDefault; }, z.core.$strip>; export declare const deployCommand: import("../lib/command").CommandDefinition<{ readonly allowEmpty: { readonly type: "boolean"; readonly default: false; }; readonly cancelExisting: { readonly type: "boolean"; readonly default: false; }; readonly cliAuthorization: { readonly type: "boolean"; readonly default: false; }; readonly dir: { readonly type: "string"; readonly short: "d"; }; readonly rebindAccounts: { readonly type: "boolean"; readonly default: false; }; readonly skipTypecheck: { readonly type: "boolean"; readonly default: false; }; readonly json: { type: "boolean"; }; }, z.ZodObject<{ json: z.ZodDefault; positionals: z.ZodTuple<[], null>; dir: z.ZodOptional; allowEmpty: z.ZodDefault; cancelExisting: z.ZodDefault; cliAuthorization: z.ZodDefault; rebindAccounts: z.ZodDefault; skipTypecheck: z.ZodDefault; }, z.core.$strict>> & import("../lib/command").Command; /** * Builds and deploys every automation found in a project's config directory. * * @param opts - Validated options selecting the project directory. * @throws When the directory contains no automation source files unless empty * deployments are allowed. */ export declare function deploy(opts: z.infer): Promise; /** * Reads a local parameter file with its name, media type, and modification * time. * * @param filePath - Local path entered at the parameter prompt. */ export declare function readParameterFile(filePath: string): Promise; /** * Renders the latest successful deployment as a human-readable Markdown file. * * @param deployment - Completed deployment and subscription facts. * @param generatedAt - Time recorded in the generated artifact. */ export declare function renderDeploymentManifest(deployment: DeploymentState, generatedAt?: Date): string; /** * Detects the repository and working-tree state represented by a deployment. * * @param cwd - Project directory that will be deployed. */ export declare function detectGitSource(cwd: string): Promise<{ commitSha: string; dirty: boolean; projectPath: string; repositoryUrl: string; } | undefined>; export {}; //# sourceMappingURL=deploy.d.ts.map