UNPKG

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