/** @module array */ /** * Return an array with the separator interspersed between * each element of the input array. * * @param array - Array to intersperse. * @param separator - Value to insert. * * @example * ```js * * intersperse(["a", "b", "c"], "x"); // => ["a", "x", "b", "x", "c"] * ``` */ export declare function intersperse(array: any[], separator: any): any[];