UNPKG

formkl

Version:
13 lines (12 loc) 619 B
import { FieldCustom, FieldDefault, FieldSelection, Formkl, Section, Validation } from "@formkl/shared"; export declare class Stringifier { constructor(); validateLogicAnd(andLogic: Validation["logic"]["$and"]): string; validateLogicOr(orLogic: Validation["logic"]["$or"]): string; validationLogic(logic: Validation["logic"]): string; validation(validation: Validation): string; selectionField(field: FieldSelection): string; fields(fields: Array<FieldDefault | FieldSelection | FieldCustom>): string; sections(sections: Array<Section>): string; stringify(formkl: Formkl): string; }