import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { AbstractControl, ControlValueAccessor, UntypedFormGroup, ValidationErrors, Validator } from '@angular/forms'; import { Observable } from 'rxjs'; import { ConfigArg, ConfigArgDefinition, ConfigurableOperation, ConfigurableOperationDefinition } from '../../../common/generated-types'; import { CurrencyService } from '../../../providers/currency/currency.service'; import * as i0 from "@angular/core"; /** * A form input which renders a card with the internal form fields of the given ConfigurableOperation. */ export declare class ConfigurableInputComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, Validator { private currencyService; operation?: ConfigurableOperation; operationDefinition?: ConfigurableOperationDefinition; readonly: boolean; removable: boolean; position: number; hideDescription: boolean; remove: EventEmitter; argValues: { [name: string]: any; }; onChange: (val: any) => void; onTouch: () => void; form: UntypedFormGroup; positionChange$: Observable; private positionChangeSubject; private subscription; constructor(currencyService: CurrencyService); interpolateDescription(): string; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; writeValue(value: any): void; trackByName(index: number, arg: ConfigArg): string; getArgDef(arg: ConfigArg): ConfigArgDefinition | undefined; private createForm; validate(c: AbstractControl): ValidationErrors | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }