import { BlockInstance } from "@wordpress/blocks"; /** * Compares the current list of blocks with the previous list of blocks and * checks whether any were removed. If a required or recommended block was removed, * a warning block is added in its place. * * @param currentBlocks The current list of blocks. * @param previousBlocks The previous list of blocks. */ export default function warningWatcher(currentBlocks: BlockInstance[], previousBlocks?: BlockInstance[]): void;