import { BaseGather, GoogleGatherOptions, MixpanelGatherOptions } from './gathers'; import { EventMeta, PageMeta, ScreenMeta, ConfigMeta, UserMeta, ParamsMeta } from './gathers'; export * from './gathers'; export * from './utils'; export interface MixgatherOptions { debug?: boolean; appName?: string; google?: GoogleGatherOptions; mixpanel?: MixpanelGatherOptions; } export interface MixgaterState { currentPageTitle: string; } export declare class Mixgather { isInited: boolean; options: MixgatherOptions; state: MixgaterState; private gathers; constructor(options?: MixgatherOptions); enableDebug(): void; private debug; init(options: MixgatherOptions): Promise; setProperty(configMeta: ConfigMeta): ConfigMeta; setUser(userMeta: UserMeta): UserMeta; setCurrentPage(title: string): void; page(path?: string, params?: ParamsMeta | string): PageMeta; event(action: string, params?: ParamsMeta): EventMeta; screen(screenName: string, appName?: string): ScreenMeta; registerGather(Gather: new (...args: any[]) => T, options: any): void; getGather(name: new (...args: any[]) => T): T; } declare const _default: Mixgather; export default _default;