/**
 * uni-app API 类型声明
 */
declare const uni: {
  postMessage: (options: { data: Record<string, any> }) => void;
  getEnv: (callback: (res: any) => void) => void;
  switchTab: (options: { url: string }) => void;
  reLaunch: (options: { url: string }) => void;
  navigateBack: (options: { delta: number }) => void;
  [key: string]: any;
}; 