image-js
Version:
Image processing and manipulation in JavaScript
14 lines • 589 B
TypeScript
import type { Match } from '../matching/bruteForceMatch.js';
/**
* Sort array of matches by source index and then destination index.
* @param matches - Array of matches to sort.
* @returns Sorted copy of the array of matches.
*/
export declare function sortBySourceDest(matches: Match[]): Match[];
/**
* Sort array of matches by destination index and then source index.
* @param matches - Array of matches to sort.
* @returns Sorted copy of the array of matches.
*/
export declare function sortByDestSource(matches: Match[]): Match[];
//# sourceMappingURL=sortBySourceDest.d.ts.map