import '../../assert/js/assert.js';
import '../../globals.js';
/**
 * @param arr - The array in which to interleave elements
 * @param generator - function( index: {number} ):{*} - 0-based index for which "separator" it is for. e.g.
 *                               [ _, generator(0), _, generator(1), _, generator(2), ..., _ ]
 * @returns - The interleaved array
 */
declare function interleave<T>(arr: readonly T[], generator: (element: number) => T): T[];
export default interleave;
//# sourceMappingURL=interleave.d.ts.map