import type { DateTime } from "luxon"; import { SeismogramDisplayData } from "./seismogram.mjs"; export declare const SORT_NONE = "none"; export declare const SORT_DISTANCE = "distance"; export declare const SORT_AZIMUTH = "azimuth"; export declare const SORT_BACKAZIMUTH = "backazimuth"; export declare const SORT_ALPHABETICAL = "alphabetical"; export declare const SORT_STARTTIME = "starttime"; export declare const SORT_ORIGINTIME = "origin"; export declare function sort(seisData: Array, key: string): SeismogramDisplayData[]; export declare function sortByFunction(seisData: Array, sortableFunction: (sdd: SeismogramDisplayData) => number | string | DateTime): SeismogramDisplayData[]; export declare function createDefaultSortingOptions(): Map number | string | DateTime>; export declare function createSortValueFunction(key: string): (sdd: SeismogramDisplayData) => number | string | DateTime; /** * Reorders array of SeismogramDisplayData in "best effort" xyz order. The data * should all be from the same station and represent three components of * motion. A common grouping of Z,N,E seismograms in any order would be returned as * E,N,Z. If the grouping was Z,1,2 where the azimuth of 1 is 90 degrees ccw * from 2, then the returned order would be 2,1,Z. * * @param sddList array representing compoment of motion * @returns sorted array in x,y,z order */ export declare function reorderXYZ(sddList: Array): Array; //# sourceMappingURL=sorting.d.mts.map