import * as i0 from "@angular/core"; export declare class SortService { constructor(); /** * Sort an array of object by the given object property and sort direction * @param arr - the array of objects to be sorted * @param propertyName - the object property to sort by * @param isAsc - whether or not the sort direction is ascending * @returns - the sorted array */ sortData(arr: any[], propertyName: string, isAsc: boolean, isDate?: boolean): any[]; /** * Helper method to sort data * @param a - the object property to compare * @param b - the object property to compare * @param isAsc - whether or not the sort direction is ascending */ private compare; /** * Helper method to sort Dates * @param a - the object property to compare * @param b - the object property to compare * @param isAsc - whether or not the sort direction is ascending */ private compareDates; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }