import { langType } from '../tools'; import Validator from './Validator'; /** * A validator for identity value. Mostly useful for hidden password control. */ export default class Identity implements Validator { private readonly comparison; readonly params: []; /** * Create the validator. * * @param comparison - The string to compare value to. */ constructor(comparison: string); validate(value: string): '$shared$nonMatching' | undefined; }