import { GetKeysWithSpecificTypeValue } from "./type.utils-Ca6oye6I.js"; //#region src/shared/sort.utils.d.ts type WithCreatedAt = { createdAt: Date; }; declare const sortByCreatedAt: (a: WithCreatedAt, b: WithCreatedAt) => number; declare const sortByCreatedAtDesc: (a: WithCreatedAt, b: WithCreatedAt) => number; type WithUpdatedAt = { updatedAt: Date; }; declare const sortByUpdatedAt: (a: WithUpdatedAt, b: WithUpdatedAt) => number; declare const sortByUpdatedAtDesc: (a: WithUpdatedAt, b: WithUpdatedAt) => number; declare const sortByDatesAsc: >(arr: T[], dateKey: GetKeysWithSpecificTypeValue) => T[]; declare const sortByDatesDesc: >(arr: T[], dateKey: GetKeysWithSpecificTypeValue) => T[]; declare const sortByDates: >(arr: T[], dateKey: GetKeysWithSpecificTypeValue, order: "ASC" | "DESC") => T[]; //#endregion export { sortByCreatedAt as sortByCreatedAt$1, sortByCreatedAtDesc as sortByCreatedAtDesc$1, sortByDates as sortByDates$1, sortByDatesAsc as sortByDatesAsc$1, sortByDatesDesc as sortByDatesDesc$1, sortByUpdatedAt as sortByUpdatedAt$1, sortByUpdatedAtDesc as sortByUpdatedAtDesc$1 }; //# sourceMappingURL=sort.utils-gpxIoXND.d.ts.map