/// import BlockLeaf from "../../core/blocks/BlockLeaf"; import { RenderSaveProps, RenderEditProps } from "../../core/blocks/BlockDefinition"; /** * BlockRootLeaf class. */ export default class BlockRootLeaf extends BlockLeaf { children: BlockLeaf[]; /** * Constructs a block root leaf. * * @param children The children. */ constructor(children: BlockLeaf[]); /** * Renders saving a leaf. * * @param props The render props. * @param i The number child this leaf is. * * @returns The rendered element. */ save(props: RenderSaveProps): JSX.Element; /** * Renders editing a leaf. * * @param props The render props. * @param i The number child this leaf is. * * @returns The rendered element. */ edit(props: RenderEditProps): JSX.Element; }