declare type ElementType = ArrayType extends Array ? Type : never; /** * Creates an array without the given element. * * @param array - The array to remove the element from * @param element - The element to remove * * @category Array * @public */ export default function remove>(array: ArrayType, element: ElementType): ArrayType; export {};