import type { ConstructorBlock } from "../../../../models/index.js";
import type { FlattenedTreeItem, TreeItemData } from "../types.js";
export declare function blockHasChildrenProp(block: ConstructorBlock): boolean;
export declare function getBlockTypeLabel(block: ConstructorBlock): string;
export declare function getBlockChildren(block: ConstructorBlock): ConstructorBlock[] | undefined;
export declare function blocksToTreeItems(blocks: ConstructorBlock[], pathPrefix?: string): TreeItemData[];
export declare function treeItemsToBlocks(items: TreeItemData[]): ConstructorBlock[];
export declare function idToBlockPath(flat: FlattenedTreeItem[], id: string): number[];
