import { ISpecification } from "../../api"; export declare class ChoiceMutator { /** * Mutates choice elements depending on the concrete container implementation * singleChoiceContainer => radioChoice * multipleChoiceContainer => checkboxChoice * * @param elements * @param type */ static mutate(elements: ISpecification[], type: string): void; /** * Mutates the type of a choice element. * This is required to differ between radio buttons and checkboxes and should not be considered as * a good solution. */ private static mutateType; /** * Recursively unpacks all leaf elements from the given {@link ISpecification[]} * @param specs * @param accumulator */ private static leafElements; }