import { OnDestroy, OnInit } from '@angular/core'; import { Searcher } from '../../shared/searcher.model'; import { Bucket } from '../../shared/query.model'; import { PickerService } from '../../../ui/picker/picker.service'; import { Subscription } from 'rxjs'; import { ContextService } from '../../../core/extension/context.service'; import { Surveyori18nService } from "../../../ui/i18n/shared/i18n.service"; import * as i0 from "@angular/core"; export declare class StandardFacetComponent implements OnInit, OnDestroy { searcher: Searcher; private pickerService; private ctx; i18nService: Surveyori18nService; requestAggs: { [key: string]: any; }; resultOpAggs: { [key: string]: string; }; resultTypeAggs: { [key: string]: string; }; DAY_IN_MILLIS: number; moreSubscription: Subscription; reqSub: Subscription; aggSettings: any; constructor(searcher: Searcher, pickerService: PickerService, ctx: ContextService, i18nService: Surveyori18nService); ngOnInit(): void; ngOnDestroy(): void; getBucketLabel(bucket: any): string; showMoreAggs(agg: any): void; hasBuckets(key: string): boolean; showMultiChoice(agg: any, bucket: any): boolean; bucketsForAgg(key: string): Array; private getAggType; addConstraint(agg: any, bucket: any): void; private getAggOp; private buildBucketQuery; isRangeAgg(agg: any): boolean; loadDatePicker(agg: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }