import { ElementRef, OnChanges, Provider, Renderer2, SimpleChanges } from "@angular/core";
import { MaskedInputDirective, TextMaskConfig as Ng2TextMaskConfig } from "angular2-text-mask";
import { BooleanInput } from "@angular/cdk/coercion";
import * as i0 from "@angular/core";
/**
* @ignore
*/
export declare const STARK_EMAIL_MASK_VALUE_ACCESSOR: Provider;
/**
* Directive to display an email mask in input elements. This directive internally uses the {@link https://github.com/text-mask/text-mask/tree/master/core|text-mask-core} library
* to provide the input mask functionality.
*
* **`IMPORTANT:`** Currently the Email Mask supports only input of type text, tel, url, password, and search.
* Due to a limitation in browser API, other input types, such as email or number, cannot be supported.
*
* ### Disabling the mask
* Passing `false` to the directive will disable the mask: ``
*
* @example
*
*
*
*
*
*
*
*
*
*
*
*
*/
export declare class StarkEmailMaskDirective extends MaskedInputDirective implements OnChanges {
/**
* Whether to display the email mask in the input field.
*/
maskConfig: boolean;
static ngAcceptInputType_maskConfig: BooleanInput;
/**
* Class constructor
* @param _renderer - Angular `Renderer2` wrapper for DOM manipulations.
* @param _elementRef - Reference to the DOM element where this directive is applied to.
* @param _compositionMode - Injected token to control if form directives buffer IME input until the "compositionend" event occurs.
*/
constructor(_renderer: Renderer2, _elementRef: ElementRef, _compositionMode: boolean);
/**
* Component lifecycle hook
* @param changes - Contains the changed properties
*/
ngOnChanges(changes: SimpleChanges): void;
/**
* Create a valid configuration to be passed to the MaskedInputDirective
* @param maskConfig - The provided configuration via the directive's input
*/
normalizeMaskConfig(maskConfig?: boolean): Ng2TextMaskConfig;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}