import type { ActionInputs } from "./actionInputs"; import type { ActionProperties } from "./actionProperties"; import type { DeploymentActionContainer } from "./deploymentActionContainer"; import type { FeedResource } from "./feedResource"; import type { PackageReference } from "./packageReference"; import type { ResourceWithId } from "./resource"; import type { RunConditionForAction } from "./runConditionForAction"; export declare type NameOrIdKey = "Name" | "Id"; export interface DeploymentActionResource extends ResourceWithId { ActionType: string; CanBeUsedForProjectVersioning: boolean; Channels: string[]; Condition?: RunConditionForAction; Container: DeploymentActionContainer; Environments: string[]; ExcludedEnvironments: string[]; Id: string; IsDisabled: boolean; IsRequired: boolean; Name: string; Notes: string | null; Packages: PackageReference[]; Properties: ActionProperties; StepPackageVersion?: string; TenantTags: string[]; Inputs?: ActionInputs; WorkerPoolId: string | null; WorkerPoolVariable: string | null; } export declare function IsDeployReleaseAction(action: DeploymentActionResource): boolean; export declare function IsPrimaryPackageReference(pkg: PackageReference): boolean; export declare function RemovePrimaryPackageReference(packages: Array>): Array>; export declare function PackageReferenceNamesMatch(nameA: string | undefined, nameB: string | undefined): boolean; export declare function HasManualInterventionResponsibleTeams(action: DeploymentActionResource): boolean; export declare function GetPrimaryPackageReference(packages: undefined | Array>): PackageReference; export declare function IsNamedPackageReference(pkg: PackageReference): boolean; export declare function GetNamedPackageReferences(packages: Array>): Array>; export declare function SetNamedPackageReference(name: string, updated: Partial>, packages: Array>): Array>; export declare function SetPrimaryPackageReference(updated: Partial>, packages: Array>): Array>; export declare function InitialisePrimaryPackageReference(packages: Array>, feeds: FeedResource[], itemsKeyedBy: NameOrIdKey): Array>;