import * as polytype from 'polytype';
import * as _angular_core from '@angular/core';
import { ElementRef } from '@angular/core';
import * as i2 from '@acorex/cdk/common';
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
import { AXMaskTokens, AXInputMaskEvent } from '@acorex/cdk/input-mask';
import * as i1 from '@angular/common';
import * as i3 from '@angular/forms';
import * as i4 from '@acorex/components/button';
import * as i5 from '@acorex/components/decorators';

declare const AXTextBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
    new (): MXInputBaseValueComponent<string>;
    ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
    ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
}, typeof MXLookComponent]>;
/**
 * The Textbox is a component which detects user interaction and triggers a corresponding event
 *
 * @category Components
 */
declare class AXTextBoxComponent extends AXTextBoxComponent_base {
    /** @ignore */
    protected _updateOn: 'change' | 'blur' | 'submit';
    /** @ignore */
    protected input: ElementRef<HTMLInputElement>;
    /**
     * Custom mask pattern for 'mask' mode.
     * Use the following tokens:
     * - `#`: Required digit (0-9)
     * - `^`: Required letter (a-z, A-Z)
     * - `@`: Required alphanumeric (0-9, a-z, A-Z)
     *
     * Use ! before token to escape symbol. For example !# will render # instead of a digit.
     * Any other character is treated as a literal separator.
     * @example '(###) ###-####' for phone numbers
     * @example 'AA-####' for license plates
     * @example '##/##/####' for dates
     */
    maskPattern: _angular_core.InputSignal<string>;
    /**
     * Custom token definitions to extend or override default mask tokens.
     * Each token maps to a pattern regex and optional transformation.
     * @example { 'P': { pattern: /[1-9]/, transform: (c) => c.toUpperCase() } }
     */
    customTokens: _angular_core.InputSignal<AXMaskTokens>;
    onMaskChanged: _angular_core.OutputEmitterRef<AXInputMaskEvent>;
    /**
     * This property defines the maximum number of characters that the input field can accept. It can be dynamically bound from a parent component template to enforce input length constraints.
     */
    maxLength: number;
    /**
     * This property determines the type of the input element (e.g., 'text', 'password', 'email', etc.). It can be dynamically bound from a parent component template to change the input field type based on different conditions or requirements.
     */
    type: string;
    /**
     * This property determines whether the input field should have autocomplete enabled and what type of autocomplete suggestions should be provided
     */
    autoComplete: string;
    /**
     * This will apply 'my-custom-class' and 'another-class' to the component's root element.
     */
    classNames: _angular_core.InputSignal<string>;
    private _applyingMask;
    writeValue(value: string): void;
    /** @ignore */
    protected _handleModelChange(value: string | null): void;
    private get __hostName();
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "look": { "alias": "look"; "required": false; }; "maskPattern": { "alias": "maskPattern"; "required": false; "isSignal": true; }; "customTokens": { "alias": "customTokens"; "required": false; "isSignal": true; }; "classNames": { "alias": "class"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "onMaskChanged": "onMaskChanged"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
}

declare class AXTextBoxModule {
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTextBoxModule, never>;
    static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXTextBoxModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.AXDecoratorModule, typeof AXTextBoxComponent], [typeof AXTextBoxComponent]>;
    static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXTextBoxModule>;
}

export { AXTextBoxComponent, AXTextBoxModule };
