import type { Command } from 'commander';
import type { EnvironmentDeploy } from './platform-api.js';
/**
 * Pick the deploy that best represents "what is live" for an environment:
 * the newest deploy, preferring one that is actually serving traffic.
 */
export declare function latestDeployByEnvironment(deploys: EnvironmentDeploy[]): Map<string, EnvironmentDeploy>;
export declare function isActiveDeployStatus(status: EnvironmentDeploy['status']): boolean;
export declare function registerEnvCommands(program: Command): Command;
//# sourceMappingURL=env.d.ts.map