import type { ObjArrStr } from '@/type.d'; /** * 检查是否存在值,存在返回索引/key,不存在返回-1 * @param {(String|Array|Object)} haystack 查找范围 * @param {*} needle 要查找的值 * @returns {(String|Number)} */ export declare function hasGetIndex(haystack: ObjArrStr, needle: any): string | number;