import { useLocale } from 'dumi'; /** * @description whether value is typeof object * @param {unknown} value check value * @returns {value is object} */ export declare function isObject(value: unknown): value is object; /** * @description whether is apple device */ export declare const isAppleDevice: boolean; /** * @description whether value is typeof undefined * @param {unknown} value check value * @returns {value is undefined} */ export declare function isUndefined(value: unknown): value is undefined; /** * @description whether link is out link * @param {string} link check link string * @returns {boolean} */ export declare function isOutLink(link: string): boolean; /** * @description isEmpty array or object * @param {unknown} value check value * @returns {boolean} */ export declare function isEmpty(value: unknown): boolean; export declare type Local = ReturnType; /** * @description get value by current local * @param {Local} locales * @param {T} localMap * @param {keyof T} key * @returns {R} */ export declare function getLocalValue, R = string | undefined>(locales: Local, localMap: T, key: keyof T): R;