import SchemaLeaf from "../../core/schema/SchemaLeaf"; import { SchemaArray } from "../../core/schema/SchemaDefinition"; import { BlockInstance } from "@wordpress/blocks"; /** * SchemaArrayLeaf class */ export default class SchemaArrayLeaf extends SchemaLeaf { array: SchemaLeaf[]; /** * Constructs a schema array leaf. * * @param array The array. */ constructor(array: SchemaLeaf[]); /** * Renders a schema leaf. * * @param block The block. * * @returns The rendered schema. */ render(block: BlockInstance): SchemaArray; }