UNPKG

825 BTypeScriptView Raw
1import Taro from '@tarojs/api';
2declare const showToast: typeof Taro.showToast;
3declare const hideToast: typeof Taro.hideToast;
4declare const showLoading: typeof Taro.showLoading;
5declare const hideLoading: typeof Taro.hideLoading;
6declare const showModal: typeof Taro.showModal;
7declare const showActionSheet: typeof Taro.showActionSheet;
8declare const enableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
9declare const disableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
10export { disableAlertBeforeUnload, enableAlertBeforeUnload, hideLoading, hideToast, showActionSheet, showLoading, showModal, showToast };