import { Orderable } from '../../domain/order/orderable.model';
import * as i0 from "@angular/core";
export declare class OrderService {
    /**
     * Use `sort` function instead or `compareAsc`
     */
    private static readonly DEFAULT_COMPARE_FUNCTION;
    sortAsc: (a: Orderable, b: Orderable) => number;
    /**
     * Clone and sort array. Ascending order used by default.
     *
     * @param array Array to sort
     * @returns Orderable[] Sorted clone array.
     */
    sort<T extends Orderable>(array: T[], sortingFunction?: (a: Orderable, b: Orderable) => number): T[];
    static ɵfac: i0.ɵɵFactoryDeclaration<OrderService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
}
//# sourceMappingURL=order.service.d.ts.map