import { AfterViewChecked, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { ApiResponseError, KnoraApiConnection, OntologiesMetadata } from '@dasch-swiss/dsp-js'; import { Subscription } from 'rxjs'; import { NotificationService } from '../../action/services/notification.service'; import { SearchParams } from '../../viewer/views/list-view/list-view.component'; import { GravsearchGenerationService } from '../services/gravsearch-generation.service'; import { ResourceAndPropertySelectionComponent } from './resource-and-property-selection/resource-and-property-selection.component'; export declare class AdvancedSearchComponent implements OnInit, OnDestroy, AfterViewChecked { private _fb; private _dspApiConnection; private _notification; private _gravsearchGenerationService; /** * Filter ontologies by specified project IRI * * @param limitToProject */ limitToProject?: string; /** * The data event emitter of type SearchParams * * @param search */ search: EventEmitter; ontologiesMetadata: OntologiesMetadata; form: FormGroup; formValid: boolean; activeOntology: string; formChangesSubscription: Subscription; errorMessage: ApiResponseError; resourceAndPropertySelection: ResourceAndPropertySelectionComponent; constructor(_fb: FormBuilder, _dspApiConnection: KnoraApiConnection, _notification: NotificationService, _gravsearchGenerationService: GravsearchGenerationService); ngOnInit(): void; ngAfterViewChecked(): void; ngOnDestroy(): void; /** * @ignore * Gets all available ontologies for the search form. * @returns void */ initializeOntologies(): void; setActiveOntology(ontologyIri: string): void; /** * @ignore * Validates form and returns its status (boolean). */ private _validateForm; submit(): void; }