import type { Nullable } from '../../../Types/Nullable';
import type { ElementValidationError } from './Abstracts/Interfaces/IElementValidator';
/**
 * Validator that requires the control's value to be equal to another control's value.
 *
 * State:
 * * badInput
 *
 * @public
 * @param element - The element to validate.
 * @param other - The other element to compare the value to.
 * @returns null if the validation check passes, otherwise an object containing information.
 */
export declare function equalsToValidator(element: HTMLElement & {
    value: unknown;
}, other: HTMLElement & {
    value: unknown;
}): Nullable<ElementValidationError>;
/**
 * Checks if the value is equal to another value.
 *
 * @param value - The value to check.
 * @param other - The other value to compare against.
 * @returns True if the value is equal to the other value, false otherwise.
 */
export declare function isEqualsToValue(value: unknown, other: unknown): boolean;
//# sourceMappingURL=EqualsToElementValidatorFn.d.ts.map