1 | import Taro from '@tarojs/api';
|
2 | import { history } from '@tarojs/router';
|
3 | declare const Behavior: any, getEnv: any, ENV_TYPE: any, Link: any, interceptors: any, interceptorify: any, Current: any, options: any, eventCenter: any, Events: any, preload: any;
|
4 | type ModifiedTaro = Omit<typeof Taro, 'router'> & {
|
5 | router: any;
|
6 | };
|
7 | declare const taro: ModifiedTaro;
|
8 | declare const requirePlugin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
9 | declare const initPxTransform: ({ designWidth, deviceRatio, baseFontSize, unitPrecision, targetUnit }: {
|
10 | designWidth?: number | undefined;
|
11 | deviceRatio?: TaroGeneral.TDeviceRatio | undefined;
|
12 | baseFontSize?: number | undefined;
|
13 | unitPrecision?: number | undefined;
|
14 | targetUnit?: string | undefined;
|
15 | }) => void;
|
16 | declare const pxTransform: (size?: number) => any;
|
17 | declare const canIUseWebp: () => boolean;
|
18 | declare const getAppInfo: () => {
|
19 | platform: string;
|
20 | taroVersion: string;
|
21 | designWidth: any;
|
22 | };
|
23 | export { taro as default, Behavior, canIUseWebp, Current, ENV_TYPE, eventCenter, Events, getAppInfo, getEnv, history, initPxTransform, interceptorify, interceptors, Link, options, preload, pxTransform, requirePlugin };
|