import { FieldErrorMessages, SimpleSchemaValidation } from './SimpleSchemaValidation'; export declare class SimpleSchemaValidationImpl implements SimpleSchemaValidation { private readonly id; private readonly getValidationErrors; private readonly options?; /** * options.ignoreEmptyFields is a list of field names that do not report error if the field is empty. * However, the error is in the list of errors and hasErrors returns true... * @param {string} id * @param {() => (Error | undefined)} getValidationErrors * @param {{ignoreEmptyFields:string[]}} options */ constructor(id: string, getValidationErrors: () => Error | undefined, options?: { ignoreEmptyFields: string[]; } | undefined); get errorsDetails(): FieldErrorMessages; /** * Checks if the value is empty and * @param {ErrorMessage} e * @returns {boolean} */ private isIgnoreErrorBecauseFieldIsEmpty; private getError; errorMessage(field: string): string | undefined; errorLabel(field: string, label: string): string; get hasErrors(): boolean; }