/**
 * Creates an array with all falsey values removed. The values `false`, `null`,
 * `0`, `""`, `undefined`, and `NaN` are falsey.
 *
 * @since 5.0.0
 * @category Array
 * @param array The array to compact.
 * @returns Returns the new array of filtered values.
 * @example
 *
 * ```js
 * compact([0, 1, false, 2, '', 3])
 * // => [1, 2, 3]
 * ```
 */
export declare function compact(array: Array<any>): Array<any>;
export default compact;
