import type { IEnv } from './types';
/**
 * 检查是否是ios环境
 * @returns {boolean} 是否是ios环境
 *
 * @example
 *
 * checkUAIsIOS()
 *
 * // => true
 *
 */
export declare function checkUAIsIOS(): boolean;
/**
 * 获取useragent类型
 * @returns {object} useragent的map
 * @example
 *
 * getEnvUAType()
 *
 * // =>
 * {
 *   isWeixin: false,
 *   isWorkWeixin: false,
 *   isQQ: false,
 *   isPvpApp: false,
 *   isTipApp: false,
 *   isAndroid: false,
 *   isIos: true,
 *   isIOS: true,
 *   isMsdk: false,
 *   isMsdkV5: false,
 *   isSlugSdk: false,
 *   isInGame: false,
 *   isGHelper: false,
 *   isGHelper20004: false,
 *   isMiniProgram: false,
 *   isLolApp: false,
 *   isWindowsPhone: false,
 *   isSymbian: false,
 *   isPc: true,
 * };
 *
 */
export declare function getEnvUAType(): IEnv;
/**
 * 初始化环境信息
 * 获取当前运行环境的 UA 类型信息
 * @returns 环境信息对象
 * @example
 * ```ts
 * const env = initEnv();
 * console.log(env.isWeixin); // false
 * console.log(env.isIOS); // true
 * ```
 */
export declare function initEnv(): IEnv;
/**
 * 检查是否是node环境
 * @returns {boolean} 是否node环境
 * @example

  const res = checkNodeEnv();
  // false
 */
export declare const checkNodeEnv: () => boolean;
