import BlockInstruction from "../../core/blocks/BlockInstruction"; import { ExtendedBlockConfiguration } from "../../type-adapters/ExtendedBlockConfiguration"; export interface VariationInterface { name: string; title: string; isDefault?: boolean; scope?: string[]; icon?: string; } /** * Variation instruction. */ export default class Variation extends BlockInstruction implements VariationInterface { name: string; title: string; isDefault?: boolean; scope?: string[]; icon?: string; /** * Passes on the options as configuration. * * @returns The configuration. */ configuration(): Partial; /** * Returns whether or not this instruction should be included in the tree. * * @returns Whether or not to render this instruction. */ renderable(): boolean; }