UNPKG

758 BTypeScriptView Raw
1declare const env: {
2 FRAMEWORK: string | undefined;
3 TARO_ENV: string | undefined;
4 TARO_PLATFORM: string | undefined;
5 TARO_VERSION: string | undefined;
6};
7declare const canIUse: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
8declare function arrayBufferToBase64(arrayBuffer: ArrayBuffer): string;
9declare function base64ToArrayBuffer(base64: string): Uint8Array;
10export { env, canIUse, arrayBufferToBase64, base64ToArrayBuffer };
11export * from "./crypto.js";
12export * from "./debug.js";
13export * from "./performance.js";
14export * from "./system.js";
15export * from "./update.js";
16export * from "./weapp/app-event.js";
17export * from "./weapp/life-cycle.js";