UNPKG

637 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: () => Promise<{
9 errMsg: string;
10}>;
11declare const disableAlertBeforeUnload: () => Promise<{
12 errMsg: string;
13}>;
14export { disableAlertBeforeUnload, enableAlertBeforeUnload, hideLoading, hideToast, showActionSheet, showLoading, showModal, showToast };