Files
ff-dist/dist/index.d.ts
T
2026-08-11 13:47:48 +08:00

38 lines
970 B
TypeScript

import React from 'react';
declare const _default$3: any;
declare const _default$2: any;
declare class Cache {
constructor(target: any, fn: any);
get: (...args: any[]) => Promise<any>;
#private;
}
declare const _default$1: any;
declare const pipe: any;
declare const _default: any;
declare const AppContext: React.Context<{
user: {};
initUser: () => void;
initUserComplete: boolean;
}>;
declare const AppGlobalParamsContext: React.Context<{
set: () => void;
get: () => void;
assign: () => void;
currentRoute: () => void;
}>;
/**
* 判断是否是 React 组件, 大写字母开头的函数则判断为组件
*/
declare function isReactComponent(component: any): boolean;
declare function insertStyle(css: any, id: any): any;
export { AppContext, AppGlobalParamsContext, Cache as cache, _default$1 as configure, _default$3 as default, pipe as func, _default$2 as http, insertStyle, isReactComponent, _default as route };