/** * @license * Copyright Slavko Mihajlovic All Rights Reserved. * * Use of this source code is governed by an ISC-style license that can be * found at https://www.isc.org/licenses/ */ import { RegExpLogicalOperations } from "../types"; /** * @internal * @description * An decorator which handles the input value in directives which extend the * {@link RegExpValidatorDirective} and have an expected input in the form of * {@link RegExpValidationConfig}. * * It will populate the error and the errorName values passed to it if it doesn't find * them in the input value. * @param regexp - Regular expression to check * @param errorName - parameter representing error name * @param error - parameter representing error value */ export declare function RegExpValidatorInput(regexp: RegExp, errorName: string, error: string, logic?: RegExpLogicalOperations): (target: any, propertyKey: string) => void;