import { EventEmitter, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { SearchEvent, SearchQueryModel } from '../../models/query.model'; export declare class AdvancedSearchLinesComponent implements OnInit { advSearchModel: any; id: string; /** * Opt in to emit the raw search form on `searchV2` instead of a SQL string on * `search`. Listings that query by criteria set this; anything still building * SQL from the model leaves it false and is unaffected. * * Same input/output pair as , so the two search bars * behave identically from a caller's point of view. */ returnFormOnSubject: boolean; search: EventEmitter; searchV2: EventEmitter; isAdvanced: boolean; inputArray: any[]; advForm: FormGroup; optionArray: {}; filter: string; basicSearchQuery: string; constructor(); onEscPressed(event: KeyboardEvent): void; ngOnInit(): void; extractOptions: (fieldName?: any, fieldValue?: any) => void; searchToggle(): void; reset(): void; optionSearchFilter(query: any): void; /** * joins = [{type of join, table name, alias name of table, on condition}] * * @param specify any where conditions * @param specify any joins * @returns the full sql query */ buildQueryString(conditions: string, joins?: any): SearchQueryModel; /** * Emits the raw search form for criteria-based listings. * * Deliberately identical to AdvancedSearchComponent.emitSearchEvent: the * consuming listing receives the form values and maps them onto the criteria * its own endpoint understands, because only the listing knows which columns * its model's fields meant. */ emitSearchEvent(basicSearchMode: boolean, query?: string): void; queryBuilder(): SearchQueryModel; basicSearch(e: string): void; advancedSearch(): void; }