/**
 * Insert a value into a sorted array efficiently.
 *
 * Reference: https://stackoverflow.com/a/21822316
 *
 * @param array - The array to insert into. Must be sorted.
 * @param value - The value to insert.
 * @param compare - The comparison function.
 */
export declare const sortedInsert: <T>(array: T[], value: T, compare: (a: T, b: T) => number) => void;
