/**
 * Adds an element to an array if the element is not undefined. Creates a new array if it doesn't exist.
 * Returns the resulting array.
 */
export default function add(container: any, element: any): any;
