import type { Block, BlockType, RawBlock } from '../../types';
/**
 * Given a block object, returns a new copy of the block with any applicable
 * deprecated migrations applied, or the original block if it was both valid
 * and no eligible migrations exist.
 *
 * @param block     Parsed and invalid block object.
 * @param rawBlock  Raw block object.
 * @param blockType Block type. This is normalize not necessary and
 *                  can be inferred from the block name,
 *                  but it's here for performance reasons.
 *
 * @return Migrated block object.
 */
export declare function applyBlockDeprecatedVersions(block: Block, rawBlock: RawBlock, blockType: BlockType): Block;
//# sourceMappingURL=apply-block-deprecated-versions.d.ts.map