import NELiveDetection from './live-detection';
import type { Lang } from './utils/i18n';
export interface RequestResponse {
    code: number;
    msg: string;
    result: string;
}
export interface PirvateOptions {
    code?: string;
    colorMap?: string[];
    token?: string;
    solutionType?: number;
    videoActions?: string[];
}
export interface Options extends PirvateOptions {
    container: HTMLElement | string;
    businessKey: string;
    mode?: 'mount' | 'popup';
    diameter?: number;
    audio?: boolean;
    fallback?: boolean;
    footerTip?: boolean;
    lang?: Lang;
    apiServer?: string;
    preload?: boolean;
    isSupport?: (ua: BrandVersion) => boolean;
    onMount?: (instance?: NELiveDetection) => void;
    onReady?: (instance?: NELiveDetection) => void;
}
export declare type WarnType = 'fail' | 'tip';
export declare type FailCode = 'unsupported' | 'notallowed' | 'notfound' | 'notreadable' | 'overconstrained' | 'abort' | 'reject' | 'timeout' | 'action_timeout' | 'auth' | 'pdFail';
export interface BrandVersion {
    osName: string;
    osVersion: string;
    browserName: string;
    browserVersion: string;
}
