import type { ActionIdentifier, ResolvedAction } from "@garden-io/grow-sdk/actions/action"; import type { ActionConfig, ActionDependency } from "@garden-io/grow-sdk/actions/types"; import type { ActionType } from "@garden-io/grow-sdk/declarations/action-type"; export declare function actionReferenceToString(ref: ActionIdentifier | string): string; export declare function actionRefMatches(a: ActionIdentifier, b: ActionIdentifier): boolean; /** * Adds or merges the given dependency into a list of dependencies. */ export declare function addActionDependency(dep: ActionDependency, dependencies: ActionDependency[]): void; /** * We omit a few fields here that should not affect versioning directly: * - The internal field (basePath, configFilePath etc.) are not relevant to the config version. * - The source, include and exclude stanzas are implicitly factored into the tree version. * Those are handled separately in {@link VcsHandler}, * see {@link VcsHandler.getTreeVersion} and {@link VcsHandler.getFiles}. * - The description field is just informational, shouldn't affect execution. * - The disabled flag is not relevant to the config version, since it only affects execution. */ declare const nonVersionedActionConfigKeys: readonly ["source", "include", "exclude", "description", "disabled", "logOutput"]; export type NonVersionedActionConfigKey = keyof Pick; export declare function getActionConfigVersion(action: ResolvedAction): string; export {};