import { OnInit } from "@angular/core"; import { StarkLoggingService } from "@nationalbankbelgium/stark-core"; import * as i0 from "@angular/core"; /** * Directive to restrict the characters that can be typed in a field to allow only those matching a regex pattern. */ export declare class StarkRestrictInputDirective implements OnInit { private logger; /** * A valid regular expression that defines the allowed characters */ inputRestriction: string; /** * Event handler to be invoked on a "keypress" event in the field * @param event - The handled event */ eventHandler(event: KeyboardEvent): boolean; /** * Event handler to be invoked on a "paste" event in the field * @param event - The handled event */ onPaste(event: ClipboardEvent): boolean; /** * Event handler to be invoked on a "drop" event in the field * @param event - The handled event */ onDrop(event: DragEvent): boolean; private testValue; /** * Class constructor * @param logger - The `StarkLoggingService` instance of the application. */ constructor(logger: StarkLoggingService); /** * Directive lifecycle hook */ ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }