/** * Simple utility functions * @module util */ /// /** * Mark a piece of code as deprecated. * * Each deprecation notice for a given name and version combination will * only be printed once. * * @param {string} name - the name of the function / method / class to deprecate * @param {string} version - the version after which the code will be marked * as deprecated * @param {string} [alternative] - the function / method / class to use instead * of this deprecated code * * @alias module:util */ export declare const deprecate: (name: string, version: string, alternative?: string | undefined) => void; /** * Remove properties whose values are `null` or `undefined` * * @param {Object} obj - object to update * @returns {Object} a shallow clone of the object with `null` and `undefined` * properties removed * * @alias module:util */ export declare const removeNilProperties: (obj: T) => import("lodash").Dictionary; /** * Test if a value is included in a list of items * * This is a curried function - https://lodash.com/docs/4.17.11#curry * * @param {Array} collection - the list of items to check against * @param {Object} val - the item to check for in the collection * @returns {boolean} * * @alias module:util * @kind function */ export declare const isOneOf: import("lodash").CurriedFunction2; //# sourceMappingURL=util.d.ts.map