/** * Normalize an insertion index for an array of a given length. * * Positive indexes are clamped to the range `[0, length]`, so values * larger than `length` insert at the end. Negative indexes are treated * as offsets from the end (like `Array.prototype.at`), and are clamped * to `0` if they go past the start. * * @param index - Requested insertion index (may be negative to count from the end). * @param length - Current length of the array being indexed into. * @returns A safe insertion index in the range `[0, length]`. */ export declare function normalize_ix(index: number, length: number): number; //# sourceMappingURL=normalize-ix.d.ts.map