import type { ADFEntity } from '@atlaskit/adf-utils/types'; import type { SyncBlockProduct } from '../common/types'; export type SyncBlockIdResolvers = { /** Return `undefined` for an unknown content ID - it's left untouched and reported via `unresolvedContentIds`. */ resolveContentId: (contentId: string, product: SyncBlockProduct) => string | undefined; /** Omit to preserve UUIDs (recommended). Return `undefined` to preserve one UUID while remapping others. */ resolveUuid?: (uuid: string) => string | undefined; }; export type SyncBlockIdMigrationResult = { isTransformed: boolean; transformedAdf: ADFEntity; /** Reference content IDs with no mapping - a signal to investigate, not necessarily a failure. */ unresolvedContentIds: string[]; }; /** `isTransformed` is `false` when no node changed, so callers can skip persisting the result. */ export declare const migrateSyncBlockIds: (adf: ADFEntity, resolvers: SyncBlockIdResolvers) => SyncBlockIdMigrationResult;