import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
import { SortState } from '@valtimo/document';
import { NGXLogger } from 'ngx-logger';
import { BehaviorSubject } from 'rxjs';
import { ViewContentService } from '../view-content/view-content.service';
import * as i0 from "@angular/core";
/**
 * @deprecated This component is deprecated. Please switch to using valtimo-carbon-list.
 */
export declare class ListComponent implements OnChanges, OnInit, AfterViewInit {
    private viewContentService;
    private logger;
    private static PAGINATION_SIZE;
    items: Array<any>;
    fields: Array<any>;
    pagination?: any;
    viewMode?: boolean;
    isSearchable?: boolean;
    header?: boolean;
    actions: any[];
    paginationIdentifier?: string;
    initialSortState: SortState;
    lastColumnTemplate?: TemplateRef<any>;
    rowClicked: EventEmitter<any>;
    paginationClicked: EventEmitter<any>;
    paginationSet: EventEmitter<any>;
    search: EventEmitter<any>;
    sortChanged: EventEmitter<SortState>;
    headerProvided: boolean;
    viewListAs: string;
    searchModel: string;
    regExpStringRemoveUnderscore: RegExp;
    searchBox: ElementRef;
    readonly sort$: BehaviorSubject<SortState>;
    constructor(viewContentService: ViewContentService, logger: NGXLogger);
    loadPaginationSize(): void;
    setPaginationSize(numberOfEntries: string): void;
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterViewInit(): void;
    transformListItemsMatchFields(): void;
    onClickRow(item: any): void;
    resolveObject(definition: any, obj: any): string;
    switchView(type: any): void;
    getTotalPageCount(): number;
    onClickPagination(page: any): void;
    handleFieldClick(key: string, sortable: boolean): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "valtimo-list", never, { "items": { "alias": "items"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "isSearchable": { "alias": "isSearchable"; "required": false; }; "header": { "alias": "header"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "paginationIdentifier": { "alias": "paginationIdentifier"; "required": false; }; "initialSortState": { "alias": "initialSortState"; "required": false; }; "lastColumnTemplate": { "alias": "lastColumnTemplate"; "required": false; }; }, { "rowClicked": "rowClicked"; "paginationClicked": "paginationClicked"; "paginationSet": "paginationSet"; "search": "search"; "sortChanged": "sortChanged"; }, never, ["[header]", "[tabs]"], false, never>;
}
//# sourceMappingURL=list.component.d.ts.map