/** Anything placed on the timeline's x axis. */ export interface XPositioned { x: number; } /** * Item indices ordered ascending by `x`, ties broken by input order. * * Counting sort over uniform x buckets. `x` is affine in time, so cards spread * near-uniformly across the domain and buckets stay ~1 deep — O(n) at the * sizes that matter, where a comparison sort is O(n log n). Clustered input * degrades gracefully rather than falling off a cliff (see the two constants * above). * * Returns indices rather than sorted items so callers can reuse one ordering * for several parallel arrays without copying the items themselves. */ export declare function orderByX(items: readonly XPositioned[]): Int32Array; //# sourceMappingURL=order-by-x.d.ts.map