import type { PromotionPreviewCheck, PromotionResource, PromotionResourceChange } from '@n8n/api-types'; import type { PackageImportPlan } from '../../modules/n8n-packages/engine/project-package-importer'; import type { PackageDirectoryInventory } from '../../modules/n8n-packages/io/directory/package-directory-inventory-reader'; import { type CredentialReference, type VariableReference } from './package-references'; import type { CrossProjectMoves } from './cross-project-moves'; export type PlannedChange = { change: PromotionResourceChange; name?: string; previousName?: string; previousId?: string; }; export declare function plannedChanges(plan: PackageImportPlan): Map; export type ApplyCheckInput = { plan: PackageImportPlan; inventory: PackageDirectoryInventory; credentials: CredentialReference[]; variables: VariableReference[]; moves: CrossProjectMoves; }; export declare function toPreviewCheck(input: ApplyCheckInput): PromotionPreviewCheck; export declare function previewRevision(resources: PromotionResource[], check: PromotionPreviewCheck): string;