import { OnInit, EventEmitter } from '@angular/core'; import { CdkDragDrop } from '@angular/cdk/drag-drop'; import { SortDirection, SortTuple } from '../../shared/types/Values/Sortoptions'; import { Loggable } from '../../Loggable'; import { SearchTuple } from '../search-header/search-header.component'; import * as i0 from "@angular/core"; export declare type DynamicColumnType = 'search' | 'sort' | 'text' | 'searchSort'; export interface DynamicColumn { label: string; key: string; locked: boolean; type: DynamicColumnType; width: number; } export interface DynamicSearchQuery { [key: string]: string; } export declare class DynamicHeaderComponent extends Loggable implements OnInit { readonly name = "DynamicHeaderComponent"; readonly gripIcon: any; labelProp: string; widthProp: string; private _columns; columnsChange: EventEmitter; get columns(): DynamicColumn[]; set columns(columns: DynamicColumn[]); private _activeSortKey; activeSortKeyChange: EventEmitter; get activeSortKey(): string; set activeSortKey(activeSortKey: string); private _activeSortDirection; activeSortDirectionChange: EventEmitter; get activeSortDirection(): SortDirection; set activeSortDirection(activeSortDirection: SortDirection); sortChange: EventEmitter; sortChanged(sort: SortTuple): void; private _query; get query(): DynamicSearchQuery; set query(query: DynamicSearchQuery); queryChange: EventEmitter; searchChanged([searchKey, searchValue]: SearchTuple): void; getQueryValue(key: string): string; drop(event: CdkDragDrop): void; getLabel(column: any): any; getWidth(column: any, assume?: '%' | '#' | 'px' | 'em' | 'rem' | 'none'): any; constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "porcelain-dynamic-header, p-dynamic-header", never, { "labelProp": "labelProp"; "widthProp": "widthProp"; "columns": "columns"; "activeSortKey": "activeSortKey"; "activeSortDirection": "activeSortDirection"; "query": "query"; }, { "columnsChange": "columnsChange"; "activeSortKeyChange": "activeSortKeyChange"; "activeSortDirectionChange": "activeSortDirectionChange"; "sortChange": "sortChange"; "queryChange": "queryChange"; }, never, never, false>; }