type Truthy = T extends false | '' | 0 | null | undefined ? never : T; /** * Filters out falsy values (`false`, `''`, `0`, `null`, `undefined`) from an array. * @template T - The type of the elements in the array. * @param array - The array to filter. * @returns A new array containing only the truthy values from the input array. */ export default function compact(array: T[]): Truthy[]; export {};