/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by vite-plugin-uni-pages

type _LocationUrl =
  "/pages/index" |
  "/pages/agent/index" |
  "/pages/agentManageAgreement/index" |
  "/pages/agentSystemGuide/index" |
  "/pages/agentUpgrade/index" |
  "/pages/help/detail" |
  "/pages/help/guide" |
  "/pages/help/index" |
  "/pages/historyQuery/index" |
  "/pages/invitation/index" |
  "/pages/me/index" |
  "/pages/privacyPolicy/index" |
  "/pages/promote/index" |
  "/pages/promote/report" |
  "/pages/promoteDetails/index" |
  "/pages/register/index" |
  "/pages/report/index" |
  "/pages/rewardsDetails/index" |
  "/pages/service/index" |
  "/pages/teamList/index" |
  "/pages/upgradeSubordinate/index" |
  "/pages/userAgreement/index" |
  "/pages/withdrawDetails/index";

interface NavigateToOptions {
  url: _LocationUrl;
}
interface RedirectToOptions extends NavigateToOptions {}

interface SwitchTabOptions {
  url: "/pages/index" | "/pages/promote/index" | "/pages/agent/index" | "/pages/me/index"
}

type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;

declare interface Uni {
  navigateTo(options: UniNamespace.NavigateToOptions & NavigateToOptions): void;
  redirectTo(options: UniNamespace.RedirectToOptions & RedirectToOptions): void;
  switchTab(options: UniNamespace.SwitchTabOptions & SwitchTabOptions): void;
  reLaunch(options: UniNamespace.ReLaunchOptions & ReLaunchOptions): void;
}

declare module "virtual:uni-pages" {
  export type LocationUrl = _LocationUrl;
}
