import { EventEmitter, OnInit } from '@angular/core';
import { Resource, RmService } from '@bidi/common-services';
import { Observable } from 'rxjs';
import * as filters from './filters';
export interface SearchForm {
    q?: string;
    subject?: string;
    type?: string;
    level?: string;
    district?: string;
}
export declare class ContentsLibraryComponent implements OnInit {
    private rm;
    params: SearchForm;
    title: any;
    subtitle: any;
    themes: any;
    selection: EventEmitter<{}>;
    close: EventEmitter<{}>;
    addTheme: EventEmitter<boolean>;
    loading: boolean;
    showPreview: boolean;
    resources$: Observable<Resource[]>;
    districts$: Observable<any>;
    planningResources: any[];
    othersResources: any[];
    form: SearchForm;
    currentSelection: any;
    filters: typeof filters;
    firstFilter: boolean;
    secondFilter: boolean;
    private fetch;
    constructor(rm: RmService);
    ngOnInit(): void;
    inputChange(): void;
    selectResource(resource: any): void;
    submit(): void;
    submit2(r: any): void;
    newTheme(e: any): void;
    openFirstFilter(): void;
    openSecondFilter(): void;
}
