/**
 * Checks if `path` is a direct property of `object`.
 *
 * @internal
 * @ignore
 * @since 5.0.0
 * @category Object
 * @param {Object} object The object to query.
 * @param {Array|string} path The path to check.
 * @returns {boolean} Returns `true` if `path` exists, else `false`.
 * @see [[has]], [[hasIn]], [[hasPathIn]]
 * @example
 *
 * ```js
 * const object = { 'a': { 'b': 2 } }
 * const other = create({ 'a': create({ 'b': 2 }) })
 *
 * hasPath(object, 'a.b')
 * // => true
 *
 * hasPath(object, ['a', 'b'])
 * // => true
 * ```
 */
export declare function hasPath(object: any, path: any, hasFunc: any): boolean;
export default hasPath;
