/** * Removes null and undefined (and optionally empty string) properties from an object. * * @example * compactObject({ a: 1, b: null, c: undefined, d: "hi", e: 0 }) // { a: 1, d: "hi", e: 0 } * * @param obj The object to compact. * @param options Whether to also remove empty strings (default: false). * @returns A new compacted object. */ export declare function compactObject>(obj: T, options?: { removeEmptyStrings?: boolean; }): Partial;