UNPKG

free-fx

Version:

27 lines (26 loc) 1.03 kB
import { EnumType } from '../enums/EnumType'; import { CategoryType } from './categories/CategoryType'; import { FieldType } from './datatypes/FieldType'; import { SectionType } from './sections/SectionType'; export declare class Field { tag: number; value: number | string | boolean | null; name: string | null; description: string | null; type: FieldType | null; category: CategoryType | null; section: SectionType | null; enumeration: EnumType | null; validated: boolean; constructor(tag: number, value: number | string | boolean | null); setTag(tag: number): void; setValue(value: number | string | boolean | null): void; setName(name: string): void; setDescription(description: string): void; setType(type: FieldType | null): void; setCategory(category: CategoryType): void; setSection(section: SectionType): void; setEnumeration(enumeration: EnumType): void; setValidated(isValid: boolean): void; toString(): string; }