/**
 * @license
 * Copyright (C) 2016 Chi Vinh Le and contributors.
 *
 * This software may be modified and distributed under the terms
 * of the MIT license. See the LICENSE file for details.
 */
export declare type BrowserID = "unknown" | "ie" | "edge" | "firefox" | "chrome" | "safari" | "opera" | "and_uc" | "samsung" | "bb" | "android" | "ios_saf" | "and_chr" | "ie_mob";
export interface Browser {
    id: BrowserID;
    version: string;
}
/**
 * @param {String} ua optional user-agent
 */
export declare function detectBrowser(ua: string): Browser;
