/**
 * @typedef {Object} DetectionResults
 * A subset of the data returned by `ua-parser-js`, with some normalizations applied.
 *
 * @property {Object} browser
 * @property {string} browser.id
 *        A short code naming the browser.
 *        One of `['gc', 'ie', 'ff', 'edge', 'opera', 'safari', 'uc browser', 'samsung', 'facebook', 'unknown']`.
 * @property {string=} browser.version
 * @property {Object} platform
 * @property {string} platform.name
 *        OS name. Result from ua-parser-js, lowercased. (default: 'unknown')
 *        See https://github.com/faisalman/ua-parser-js/#methods for full list.
 * @property {string=} platform.version
 * @property {Object} device
 * @property {string} device.model,
 *        One of `['iphone', 'ipad', 'unknown']`.
 * @property {string} device.type
 *        One of `['console', 'desktop_laptop', 'mobile', 'tablet', 'smarttv', 'wearable', 'embedded', 'unknown']`.
 *        1. If a [type](https://github.com/faisalman/ua-parser-js/tree/0.7.12#methods) was parsed by ua-parser-js, use that.
 *        2. Else if `isMobile` is true, assume 'mobile' (many generic Androids are phones).
 *        3. Else if `browser.id === 'unknown'`, 'unknown' (probably a bot).
 *        4. Else, assume 'desktop_laptop'.
 * @property {boolean} device.isMobile
 *        True iff the device is a phone, tablet, or running an OS that is one of
 *        `['android', 'blackberry', 'ios', 'windows phone']`.
 */
/**
 * Parse the userAgent string and return a subset of the data.
 *
 * @param {string} userAgent User agent string
 * @returns {module:lib/detect~DetectionResults}
 */
export function parseUA(userAgent: string): any;
declare namespace _default {
    export { parseUA };
}
export default _default;
/**
 * A subset of the data returned by `ua-parser-js`, with some normalizations applied.
 */
export type DetectionResults = {
    browser: {
        id: string;
        version?: string | undefined;
    };
    platform: {
        name: string;
        version?: string | undefined;
    };
    device: {
        model: string;
        type: string;
        isMobile: boolean;
    };
};
