import { GalaxyAsyncInputValidator, GalaxyCoreInputInterface, GalaxyInputValidator } from '../input.interface'; import { BehaviorSubject, Observable } from 'rxjs'; import { ControlValueAccessor, FormControl, ValidationErrors } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class GalaxyCoreInput implements ControlValueAccessor { static ASYNC_DEBOUNCE_DELAY: number; /** Id of the field */ id?: string; /** Label to display context on what type of text should be entered into the field */ label?: string; /** Placeholder text as an example of what text should be entered into the field */ placeholder?: string; /** The form control for the input. If no form control is passed in, it will create its own */ formControl?: FormControl; /** If true, requires the field be filled with text by the user */ required?: boolean; /** Whether or not to disable autocompletion for forms */ disableAutoComplete?: boolean; /** [Advanced] List of GalaxyInputValidators */ validators?: GalaxyInputValidator[]; /** [Advanced] List of GalaxyInputValidators */ asyncValidators?: GalaxyAsyncInputValidator[]; /** Controls if the input is disabled */ set disabled(disabled: boolean); /** Allows for value input, similar to other angular form inputs */ set value(val: T); config?: GalaxyCoreInputInterface; inputValue: T; isDisabled: boolean; asyncValidatorErrors$$: BehaviorSubject; asyncValidatorErrors$: Observable; validatorError$: Observable; onChange: Function; onTouched: Function; setupControl(): void; runAsyncValidators(): Observable<{ validatorResult: ValidationErrors; errorMessage: string; }[]>; handleAsyncValidatorResults(results: { validatorResult: ValidationErrors; errorMessage: string; }[]): string[]; collectErrorsAndUpdateForm(errors: ValidationErrors[]): void; onBlur(): void; writeValue(value: T): void; registerOnChange(fn: (value: T) => void): void; registerOnTouched(fn: (value: T) => void): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[glxyCoreInput]", never, { "id": "id"; "label": "label"; "placeholder": "placeholder"; "formControl": "formControl"; "required": "required"; "disableAutoComplete": "disableAutoComplete"; "validators": "validators"; "asyncValidators": "asyncValidators"; "disabled": "disabled"; "value": "value"; "config": "config"; }, {}, never>; }