/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */
import { EventEmitter, ElementRef, AfterViewInit, ComponentFactoryResolver, ViewContainerRef, OnDestroy, OnInit } from '@angular/core';
import { NgaSuperSearchService } from './search.service';
import { NgaThemeService } from '../../services/theme.service';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/of';
import 'rxjs/add/operator/delay';
/**
 * search-field-component is used under the hood by nga-search component
 * can't be used itself
 */
export declare class NgaSearchFieldComponent {
    static readonly TYPE_MODAL_ZOOMIN: string;
    static readonly TYPE_ROTATE_LAYOUT: string;
    static readonly TYPE_MODAL_MOVE: string;
    static readonly TYPE_CURTAIN: string;
    static readonly TYPE_COLUMN_CURTAIN: string;
    static readonly TYPE_MODAL_DROP: string;
    static readonly TYPE_MODAL_HALF: string;
    static readonly TYPE_SIMPLE_SEARCH: string;
    searchType: string;
    placeholder: string;
    searchClose: EventEmitter<{}>;
    search: EventEmitter<{}>;
    inputElement: ElementRef;
    showSearch: boolean;
    readonly modalZoomin: boolean;
    readonly rotateLayout: boolean;
    readonly modalMove: boolean;
    readonly curtain: boolean;
    readonly columnCurtain: boolean;
    readonly modalDrop: boolean;
    readonly modalHalf: boolean;
    readonly simpleSearch: boolean;
    type: any;
    closeSearch(): void;
    submitSearch(term: any): void;
    onBlur(): void;
}
export declare class NgaSearchComponent implements OnInit, AfterViewInit, OnDestroy {
    private searchService;
    private themeService;
    private componentFactoryResolver;
    tag: string;
    placeholder: string;
    showSearch: boolean;
    attachedSearchContainer: ViewContainerRef;
    private searchFieldComponentRef;
    private searchType;
    private createFieldSubscription;
    private activateSearchSubscription;
    private deactivateSearchSubscription;
    constructor(searchService: NgaSuperSearchService, themeService: NgaThemeService, componentFactoryResolver: ComponentFactoryResolver);
    readonly simpleSearch: boolean;
    type: any;
    openSearch(): void;
    connectToSearchField(componentRef: any): void;
    createAttachedSearch(component: any): Observable<any>;
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
}
