export type ZuiAlign = 'left' | 'center' | 'right'; export type ZuiInputVal = boolean | string; export type SearchFunc = (searchTerm: string) => Promise; export type Items = any[] | SearchFunc; export interface IValidatorField { required: string; maxlength: string; minlength: string; max: string; min: string; pattern: string; email: string; } export type IValidatorMessage = Partial; export type IInputVal = boolean | string; export type ZValidatorOutput = string | boolean; export type ZuiGetError = string | boolean | undefined; export type ValidatorOuput = string | boolean | void; export interface ValidatorFunc { (value: string): ValidatorOuput | Promise; }