import { OnChanges, EventEmitter, SimpleChanges, QueryList } from "@angular/core";
import { BehaviorSubject } from "rxjs";
import { CssUtils } from "../utils";
import { ElementRef, OnInit, AfterViewChecked, ChangeDetectorRef } from "@angular/core";
import { DxcInputPrefixIconComponent } from "./dxc-input-prefix-icon/dxc-input-prefix-icon.component";
import { DxcInputSuffixIconComponent } from "./dxc-input-suffix-icon/dxc-input-suffix-icon.component";
import { InputTextService } from "./services/inputText.service";
import { BackgroundProviderService } from "../background-provider/service/background-provider.service";
import * as i0 from "@angular/core";
export declare class DxcInputTextComponent implements OnInit, OnChanges, AfterViewChecked {
    private utils;
    private ref;
    private service;
    bgProviderService?: BackgroundProviderService;
    className: any;
    isDisabled: boolean;
    lightBackground: boolean;
    darkBackground: boolean;
    hasPrefixIcon: boolean;
    prefix: string;
    suffix: string;
    prefixIconSrc: string;
    suffixIconSrc: string;
    get disabled(): boolean;
    set disabled(value: boolean);
    private _disabled;
    get required(): boolean;
    set required(value: boolean);
    private _required;
    get invalid(): boolean;
    set invalid(value: boolean);
    private _invalid;
    get isMasked(): boolean;
    set isMasked(value: boolean);
    private _isMasked;
    label: String;
    assistiveText: string;
    name: string;
    value: string;
    placeholder: string;
    autocompleteOptions: any;
    margin: any;
    size: string;
    get tabIndexValue(): number;
    set tabIndexValue(value: number);
    private _tabIndexValue;
    onClickSuffix: EventEmitter<any>;
    onClickPrefix: EventEmitter<any>;
    onChange: EventEmitter<string>;
    onBlur: EventEmitter<any>;
    prefixPointer: boolean;
    suffixPointer: boolean;
    loading: BehaviorSubject<boolean>;
    isError: BehaviorSubject<boolean>;
    renderedValue: string;
    private _valueChangeTrack;
    options: any;
    type: string;
    dxcAutocompleteMenu: string;
    singleInput: ElementRef;
    dxcInputPrefixIcon: QueryList<DxcInputPrefixIconComponent>;
    dxcInputSuffixIcon: QueryList<DxcInputSuffixIconComponent>;
    selectionStart: number;
    selectionEnd: number;
    clicked: boolean;
    sizes: {
        small: string;
        medium: string;
        large: string;
        fillParent: string;
    };
    defaultInputs: BehaviorSubject<any>;
    constructor(utils: CssUtils, ref: ChangeDetectorRef, service: InputTextService, bgProviderService?: BackgroundProviderService);
    ngOnInit(): void;
    private bindAutocompleteOptions;
    ngAfterViewChecked(): void;
    ngOnChanges(changes: SimpleChanges): void;
    onChanged($event: any): void;
    onClickOption($event: any): void;
    autocompleteFunction(value: any): void;
    /**
     * internal click event handler
     *
     * @param $event
     */
    onClickHandle($event: any): void;
    /**
     *Executed when input lost the focus
     */
    onBlurHandle($event: any): void;
    onClickSuffixHandler($event: any): void;
    onClickPrefixHandler($event: any): void;
    private setCursorSelection;
    calculateWidth(inputs: any): string;
    getNoIconStyle(): string;
    getOnClickPrefixIconStyle(): string;
    getStyleOnClickPrefixIconLight(): string;
    getStyleOnClickSuffixIconLight(): string;
    getStyleOnClickPrefixIconDark(): string;
    getStyleOnClickSuffixIconDark(): string;
    getDynamicStyle(inputs: any): string;
    getInvalidLightStyle(): string;
    getInvalidDarkStyle(): string;
    getAutoCompleteStyle(): string;
    getLightStyle(): string;
    getDarkStyle(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<DxcInputTextComponent, [null, null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DxcInputTextComponent, "dxc-input-text", never, { "prefix": "prefix"; "suffix": "suffix"; "prefixIconSrc": "prefixIconSrc"; "suffixIconSrc": "suffixIconSrc"; "disabled": "disabled"; "required": "required"; "invalid": "invalid"; "isMasked": "isMasked"; "label": "label"; "assistiveText": "assistiveText"; "name": "name"; "value": "value"; "placeholder": "placeholder"; "autocompleteOptions": "autocompleteOptions"; "margin": "margin"; "size": "size"; "tabIndexValue": "tabIndexValue"; }, { "onClickSuffix": "onClickSuffix"; "onClickPrefix": "onClickPrefix"; "onChange": "onChange"; "onBlur": "onBlur"; }, ["dxcInputPrefixIcon", "dxcInputSuffixIcon"], ["dxc-input-prefix-icon", "dxc-input-suffix-icon"]>;
}
//# sourceMappingURL=dxc-input-text.component.d.ts.map