/// <reference types="@tarojs/taro" />

import '@tarojs/taro'

// 扩展 Taro 的静态方法
declare module '@tarojs/taro' {
  interface TaroStatic {
    monitorEvent: {
      on: (eventName: 'all', callback: (track: any) => void) => void;
      off: (eventName: 'all') => void;
      trigger(events: string, ...args: any[]): any;
    };
  }
}