import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms'; import { ErrorStateMatcher } from '@angular/material/core'; import { FloatLabelType, MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field'; import { NgxCurrencyConfig } from 'ngx-currency'; import { FieldErrorMessageResolver, FieldErrorMessages } from '../../forms/field-errors'; import * as i0 from "@angular/core"; export type InputErrorMessageResolver = FieldErrorMessageResolver; export type InputErrorMessages = FieldErrorMessages; export declare class InputComponent implements OnChanges, OnInit, OnDestroy, ControlValueAccessor { ngControl: NgControl; label?: string | null; placeholder: string; hint?: string | null; prefix?: string | null; suffix?: string | null; errorMessages: InputErrorMessages; defaultErrorMessage: string; currencyOptions?: Partial | null; type: string; disabled: boolean; min?: number | string | null; max?: number | string | null; step?: number | string | null; appearance: MatFormFieldAppearance; floatLabel: FloatLabelType; subscriptSizing: SubscriptSizing; fullWidth: boolean; get isFullWidth(): boolean; private onChange; onTouched: () => void; private formDisabled; internalControl: FormControl; get isRequired(): boolean; get errorMessage(): string; constructor(ngControl: NgControl); private readonly defaultErrorStateMatcher; errorStateMatcher: ErrorStateMatcher; set errorStateMatcherInput(matcher: ErrorStateMatcher | null | undefined); private maskedValueChanges?; ngOnInit(): void; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; onInput(value: string): void; /** * What the control receives for what the DOM holds. A number field is still * text on the way out — binding `type` rules out Angular's own * NumberValueAccessor — so a form that declares a number is handed one, and an * emptied field is handed nothing rather than the "" that reads as filled in. */ private coerce; writeValue(obj: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; private syncInternalDisabledState; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_disabled: unknown; static ngAcceptInputType_fullWidth: unknown; }