UNPKG

1.67 kBTypeScriptView Raw
1import Taro from '@tarojs/api';
2declare const onUnhandledRejection: typeof Taro.onUnhandledRejection;
3declare const onThemeChange: typeof Taro.onThemeChange;
4declare const onPageNotFound: typeof Taro.onPageNotFound;
5declare const onError: typeof Taro.onError;
6declare const onAudioInterruptionEnd: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
7declare const onAudioInterruptionBegin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
8declare const onAppShow: typeof Taro.onAppShow;
9declare const onAppHide: typeof Taro.onAppHide;
10declare const offUnhandledRejection: typeof Taro.offUnhandledRejection;
11declare const offThemeChange: typeof Taro.offThemeChange;
12declare const offPageNotFound: typeof Taro.offPageNotFound;
13declare const offError: typeof Taro.offError;
14declare const offAudioInterruptionEnd: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
15declare const offAudioInterruptionBegin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
16declare const offAppShow: typeof Taro.offAppShow;
17declare const offAppHide: typeof Taro.offAppHide;
18export { onUnhandledRejection, onThemeChange, onPageNotFound, onError, onAudioInterruptionEnd, onAudioInterruptionBegin, onAppShow, onAppHide, offUnhandledRejection, offThemeChange, offPageNotFound, offError, offAudioInterruptionEnd, offAudioInterruptionBegin, offAppShow, offAppHide };