import type { PromotionPreviewCheck } from '@n8n/api-types'; export type CrossProjectMove = PromotionPreviewCheck['movedWorkflows'][number]; export type CrossProjectMoves = { workflows: CrossProjectMove[]; folders: CrossProjectMove[]; }; export type InstanceProject = { id: string; name: string; type: string; }; type Inventory = { projects: ReadonlyArray<{ id: string; name: string; }>; workflows: ReadonlyArray<{ id: string; name: string; projectId: string; }>; folders: ReadonlyArray<{ projectId: string; folder: { id: string; name: string; }; }>; }; export declare function foldersInScope(folders: readonly F[], projectId?: string): F[]; export declare function crossProjectMoves({ inventory, owners, folderHomes, existingProjectIds, projectId, }: { inventory: Inventory; owners: ReadonlyMap; folderHomes: ReadonlyMap; existingProjectIds: ReadonlySet; projectId?: string; }): CrossProjectMoves; export declare function toInstanceProject({ id, name, type, }: InstanceProject): CrossProjectMove['instanceProject']; export declare function describePromotedMoves(moves: CrossProjectMoves): string; export {};