type Plugin = 'error' | 'click' | 'performance' | 'router';

//初始化时传入的参数
interface Options {
  url: string;
  max?: number;
  time?: number;
  plugin?: Plugin[];
  data?: any;
}

declare enum TYPES {
    ERROR = "error",
    CLICK = "click",
    PERFORMANCE = "performance",
    ROUTER = "router"
}

declare const init: (options: Options) => void;

declare const _default: {
    init: (options: Options) => void;
};

export { TYPES, _default as default, init };
