import { AfterViewInit, EventEmitter, OnInit } from '@angular/core'; import { Constants, KnoraApiConnection, ReadResource, ResourcePropertyDefinition } from '@dasch-swiss/dsp-js'; import { ValueOperationEventService } from '../../services/value-operation-event.service'; import { ValueService } from '../../services/value.service'; import { BaseValueComponent } from '../../values/base-value.component'; export declare class AddValueComponent implements OnInit, AfterViewInit { private _dspApiConnection; private _valueOperationEventService; private _valueService; createValueComponent: BaseValueComponent; resourcePropertyDefinition: ResourcePropertyDefinition; parentResource: ReadResource; configuration?: object; operationCancelled: EventEmitter; constants: typeof Constants; mode: 'read' | 'update' | 'create' | 'search'; createModeActive: boolean; submittingValue: boolean; progressIndicatorStatus: number; progressIndicatorColor: string; constructor(_dspApiConnection: KnoraApiConnection, _valueOperationEventService: ValueOperationEventService, _valueService: ValueService); ngOnInit(): void; ngAfterViewInit(): void; /** * Add a new value to an existing property of a resource. */ saveAddValue(): void; /** * Cancel the add value operation and hide the add value form. */ cancelAddValue(): void; }