import type { CompareFunction } from "../../types/array/compareFunction"; /** * Quick sort implementation for arrays * @template T Type of array elements * @param {T[]} array Input array to sort * @param {(a: T, b: T) => number} compareFunction Function to determine sort order * @param {number} startID Starting index for sorting * @param {number} endID Ending index for sorting * @returns {T[]} Sorted array * @example quickSort([1, 3, 2, 4, 5], (a, b) => a - b); // [1, 2, 3, 4, 5] */ export declare const quickSortSimple: (array: T[], compareFunction?: CompareFunction, startID?: number, endID?: number) => T[];