import { ElementRef } from "@angular/core";
import * as i0 from "@angular/core";
export declare class VcAllowNumberOnlyDirective {
    private el;
    vcAllowNumberOnly: boolean;
    regex: RegExp;
    set regexType(type: string);
    /**
     * The constructor function takes an ElementRef parameter and assigns it to the private el property.
     * @param {ElementRef} el - The `el` parameter is of type `ElementRef`, which is a wrapper around a
     * native element inside a View. It can be used to access properties and methods of the native
     * element.
     */
    constructor(el: ElementRef);
    keyPress(event: KeyboardEvent): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<VcAllowNumberOnlyDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<VcAllowNumberOnlyDirective, "[vcAllowNumberOnly]", never, { "vcAllowNumberOnly": { "alias": "vcAllowNumberOnly"; "required": false; }; "regexType": { "alias": "regexType"; "required": false; }; }, {}, never, never, true, never>;
}
