/** * Returns all distinct elements that appear at least once in each of the given arrays * * Example: * * ```ts * import { intersect } from "https://deno.land/std@$STD_VERSION/collections/mod.ts"; * import { assertEquals } from "https://deno.land/std@$STD_VERSION/testing/asserts.ts"; * * const lisaInterests = [ 'Cooking', 'Music', 'Hiking' ] * const kimInterests = [ 'Music', 'Tennis', 'Cooking' ] * const commonInterests = intersect(lisaInterests, kimInterests) * * assertEquals(commonInterests, [ 'Cooking', 'Music' ]) * ``` */ export declare function intersect(...arrays: (readonly T[])[]): T[]; export { }