import type { DeployEnvironment } from "./api/common/types.js"; /** A resolved Deploy API context — token plus the env profile's ids. */ export interface DeployContext { token: string; baseUrl?: string; envName: string; organizationId?: string; projectId?: string; environmentId?: string; environmentType?: string; editingHostEnvironmentIds?: string[]; whatIf?: boolean; } /** * Resolve a Deploy API context for an environment — env profile lookup * and Deploy token (keychain, falling back to the env profile's stored * token). Throws `AUTH_REQUIRED` when no token is available. */ export declare const getDeployContext: (options: { config?: string; environmentName?: string; whatIf?: boolean; }) => Promise; export declare const resolveDeployOrganizationId: (context: { token: string; baseUrl?: string; organizationId?: string; }) => Promise; export declare const extractDeployEnvironmentList: (result: unknown) => DeployEnvironment[]; export declare const getEnvironmentType: (environment: DeployEnvironment) => string | undefined; export declare const filterEnvironmentsByType: (environments: DeployEnvironment[], type?: string) => DeployEnvironment[]; export declare const resolveDeployProjectId: (context: { token: string; baseUrl?: string; whatIf?: boolean; }, options: { project?: string; }) => Promise; export declare const resolveDeployEnvironmentId: (context: { token: string; baseUrl?: string; envName?: string; environmentId?: string; whatIf?: boolean; }, options: { id?: string; name?: string; project?: string; }) => Promise; export declare const resolveEnvironmentType: (value: unknown) => string | undefined; export declare const resolveTenantTypeValue: (value: unknown) => number | undefined; export declare const resolveProjectIdValue: (value: unknown) => string | undefined;