/** * Defines the Form class * Author: Callan Heard */ import { Input } from './input.class'; /** Form inputs property type */ export declare type Inputs = { [key: string]: Input; }; /** Collection of Inputs, based on Angular FormGroup */ export declare class Form { private _inputs; /** Form inputs array */ private _array; /** Form inputs object */ get inputs(): Inputs; /** Form inputs array */ get array(): Input[]; /** Whether all form inputs are valid */ get valid(): boolean; /** Initialise array property and set input names */ constructor(_inputs: Inputs); /** Whether all form inputs can submit */ canSubmit(): boolean; /** Reset all inputs */ reset(): void; } //# sourceMappingURL=form.class.d.ts.map