/** * @param arraysOrValues Arrays or values to concatenate. * @returns A new array containing the concatenated elements. */ export declare function concat(...arraysOrValues: (T | U)[]): (T | U[number])[]; export declare function isArray(arg: unknown): arg is unknown[]; /** * @param arr The array to modify. This array is modified in place. * @param start The index at which to start changing the array. * @param deleteCount? The number of elements to remove. * @param items Elements to insert. * @returns An array containing the removed elements. */ export declare function splice(arr: T[], start: number, deleteCount?: number, ...items: T[]): T[]; /** * Simulates JavaScript's Array.prototype.slice * @param arr The array to slice. * @param start The beginning index of the slice. * @param end_ The ending index of the slice (exclusive). * @returns A new array containing the extracted elements. */ export declare function slice(arr: T[], start: number, end_?: number): T[]; declare const ArrayX: { isArray: typeof isArray; concat: typeof concat; slice: typeof slice; splice: typeof splice; }; export default ArrayX;