import { FormFieldStatusMeta } from './form-field-validation-rule';
import { TimeFormat } from '../../../types/general';
import { EvaluateResult } from './validation-rule';
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
/**
 * A rule that checks if time is empty or not
 *
 * @augments {InternalFormFieldValidationRule<string>}
 */
export declare class TimeRequiredRule extends InternalFormFieldValidationRule<string> {
  private readonly config;
  /**
   * It creates a new instance of the class with the given config.
   *
   * @param {{ timeFormat: TimeFormat }} config - config including the timeFormat for time value
   * @param {TimeFormat} config.timeFormat - The timeFormat for time value
   */
  constructor(config: {
    timeFormat: TimeFormat;
  });
  /**
   * It checks if the input is a valid time string.
   *
   * @param {string} input - The value of the input field.
   * @returns {EvaluateResult} An object with two properties: isValid and message.
   */
  evaluate(input: unknown): EvaluateResult;
  /**
   * If the input is accepted and the status is not disabled and visible, then return true
   *
   * @param {unknown} input - The input to be evaluated.
   * @param {FormFieldStatusMeta} [status] - FormFieldStatusMeta
   * @returns {boolean} A boolean value.
   */
  canEvaluate(input: unknown, status?: FormFieldStatusMeta): boolean;
  /**
   * If the field is not disabled, visible, and has been touched or modified, then show the error
   *
   * @param {FormFieldStatusMeta} status - FormFieldStatusMeta
   * @returns {boolean} A boolean value.
   */
  shouldShowError(status: FormFieldStatusMeta): boolean;
  /**
   * If the input is undefined or null, return true, otherwise return true if the input is a string.
   *
   * @param {unknown} input - The input value to be validated.
   * @returns {boolean}A boolean.
   */
  private isAcceptedInputType;
}
