/** * Given a list of items and the current `order` map, returns a new array with * items sorted by their assigned 1-based index. Items missing from the map keep * their original relative position and fill the remaining slots. * * @param items - The array of items to reorder. * @param order - Map of item keys to their target 1-based position. * @param getKey - Function to extract the unique key from an item. */ export declare const applyArrayOrder: (items: readonly T[], order: ReadonlyMap, getKey: (item: T) => PropertyKey) => T[];