import { ElementRef } from "@angular/core";
import * as i0 from "@angular/core";
export declare class SortService {
    defaultSort: string;
    ascSort: string;
    descSort: string;
    mapStatesHeaders: Map<any, any>;
    constructor();
    /** Get sorted list from given list, header's name and type of order ("asc" or "desc"). */
    getSortedList(collectionResource: any[], columnName: string, order: string): any[];
    /** Compare values for sorting with given order ("asc" or "desc") and header's name. */
    private compareValues;
    /** Set to default state the given header id (like "header-user-user"). */
    removeOtherSortings(id: string): void;
    /** Set default icon to the header. */
    setDefaultIconSort(el: ElementRef): void;
    /** Set asc icon to the header. */
    setAscIconSort(el: ElementRef): void;
    /** Set desc icon to the header. */
    setDescIconSort(el: ElementRef): void;
    /** Return default icon for the given header. */
    getDefaultIcon(columnName: string): string;
    /** Return asc icon for the given header. */
    getAscIcon(columnName: string): string;
    /** Return desc icon for the given header. */
    getDescIcon(columnName: string): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<SortService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<SortService>;
}
//# sourceMappingURL=sort.service.d.ts.map