export interface ErrorOptions { text: string; hideText: boolean; isErrorState: boolean; hasErrorPlaceholder: boolean; } export interface HasError { errorOptions?: Partial; errorOnChange?: (error: string) => void; }