/** * @internal */ export default function intersection(firstArray: FirstElementType[], secondArray: SecondElementType[]): Array; /** * @internal */ export default function intersection(firstArray: FirstElementType[], secondArray: SecondElementType[], thirdArray: ThirdElementType[]): Array; /** * @internal */ export default function intersection(firstArray: FirstElementType[], secondArray: SecondElementType[], thirdArray: ThirdElementType[], fourthArray: FourthElementType[]): Array; /** * @internal */ export default function intersection(firstArray: FirstElementType[], secondArray: SecondElementType[], thirdArray: ThirdElementType[], fourthArray: FourthElementType[], fifthArray: FifthElementType[]): Array; /** * Creates an array with elements present in all given arrays. * * @param arrays - The array of arrays of elements to get elements from * @returns An array with elements present in all given arrays * * @public */ export default function intersection(...arrays: ElementType[][]): Array;