import { EventEmitter, OnInit } from '@angular/core';
import { BreadcrumbService } from '@onecx/angular-accelerator';
import { PageHeaderComponent } from '@onecx/angular-accelerator';
import { PortalSearchPage } from './search-page';
import { TranslateService } from '@ngx-translate/core';
import { AppStateService } from '@onecx/angular-integration-interface';
import { UserService } from '@onecx/angular-integration-interface';
import * as i0 from "@angular/core";
/**
 * TODO: deprecate this before core apps are migrated to v6
 * deprecated Will be replaced by ocx-search-header
 */
export declare class SearchCriteriaComponent extends PageHeaderComponent implements OnInit {
    private searchPage?;
    /** Whether to show advanced toggle button or not*/
    disableAdvancedToggle: boolean;
    /**
     * Unique identifier of this search.
     * It is used for search template fetching, preferences and other usecases.
     * Recommended structure is `app_object_search` e.g. `ibt_order_search` */
    searchId?: string;
    private _criteriaTemplateEnabled;
    /**
     * Whether criteria template feature is enabled or not. Data is fetch based on 'searchId' attribute. */
    get criteriaTemplate(): boolean;
    set criteriaTemplate(value: boolean);
    /** Event emitted when the search button has been pressed. */
    readonly search: EventEmitter<'basic' | 'advanced'>;
    /** Event emitted when the reset button has been pressed. */
    readonly reset: EventEmitter<'basic' | 'advanced'>;
    /** Event emitted when the adnvanced view has been toggled. */
    readonly advancedViewToggle: EventEmitter<any>;
    protected advancedSearchActive: boolean;
    private enableAdvancedSearch;
    private enableSimpleSearch;
    constructor(breadcrumbs: BreadcrumbService, translateService: TranslateService, appStateService: AppStateService, userService: UserService, searchPage?: PortalSearchPage<unknown> | undefined);
    ngOnInit(): void;
    protected switchCriteriaBlock($event: {
        checked: boolean;
    }): void;
    protected emitSearchEvent(): void;
    protected emitResetEvent(): void;
    activateAdvancedSearch(advanced: boolean): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SearchCriteriaComponent, [null, null, null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SearchCriteriaComponent, "ocx-search-criteria", never, { "disableAdvancedToggle": { "alias": "disableAdvancedToggle"; "required": false; }; "searchId": { "alias": "searchId"; "required": false; }; "criteriaTemplate": { "alias": "criteriaTemplate"; "required": false; }; }, { "search": "search"; "reset": "reset"; "advancedViewToggle": "advancedViewToggle"; }, never, ["[toolbarItems]", "[simpleCriteria]", "[advancedCriteria]"], false, never>;
}
