/** * Log validation error for required properties in components * @param name - name of the component i.e. * @param errorArr - array of attributes with errors * @param optionalAttrsArrToRemove - array of optional attributes with errors to be removed from this error message */ export declare function logError(name: string, errorArr: string[], optionalAttrsArrToRemove?: string[]): void; /** * Log validation error for required properties in components * @param errors - array of attributes with errors * @param propertyName - name of the property being checked * @param property - value of the property being checked * @param external - boolean value for an external check on property value * @returns modified array of errors */ export declare function handleErrors(errors: string[], propertyName: string, property: string | boolean | object, external?: boolean): string[];