import type { IBlockDefinition, TryParsePastedDOMEvent } from "../block/basic"; import type { BlockDataElement } from "../data"; import { Registry } from "./registry"; export declare class BlockRegistry extends Registry { #private; constructor(); register(blockType: IBlockDefinition): number; getBlockDefById(id: number): IBlockDefinition | undefined; getBlockDefByName(name: string): IBlockDefinition | undefined; getBlockIdByName(name: string): number | undefined; handlePasteElement(e: TryParsePastedDOMEvent): BlockDataElement | void; }