export declare const insertIntoIndex: <T>(array: T[], element: T, index: number) => T[];
/**
 * Removes an element from an array, returning the deleted element.
 */
export declare const removeIndex: <T>(array: T[], index: number) => T;
