declare module '*.css'; // declare module '*.less'; declare module '*.less' { const classes: { [key: string]: string }; export default classes; } declare module '*.webp'; declare module '*.png'; declare module '*classnames'; declare module '*.svg' { export function ReactComponent(props: React.SVGProps): React.ReactElement; const url: string; export default url; } declare module '@multiavatar/multiavatar'; /** * 可更改所有属性 */ declare type Writeable = { -readonly [P in keyof T]: T[P]; }; type PageRouteConfig = { path: string; component?: string | (() => any); wrappers?: (string | (() => any))[]; redirect?: string; exact?: boolean; routes?: PageRouteConfig[]; [k: string]: any; }; declare interface BasicsFn { (...params: Params[]): Result; } declare interface CacheFn extends BasicsFn { (...params: Params[]): Result; _value?: Value | null; clearCache?: () => void; } declare const ICONFONT_URL: string; declare const FULLSCREEN_PATH: string; declare const PRODUCT_PATHNAME: string; declare const FOLDER_PATHNAME: string; declare const STOREHOUSE_PATHNAME: string; declare const INSTANCE_PATHNAME: string; declare const ES_API_PREFIX: string; declare const TRANSMIT_API_PREFIX: string; declare const CHAT_API_PREFIX: string; /** 全部用户 */ declare const ALL_USER: string; /** 全部产品清单 */ declare const ALL_PRODUCT: string; /** 产品内全部用户 */ declare const ALL_IN_PRODUCT_USER: string; declare const FIX_INS_TAbTABLE_COLUMNMAP: Record; declare const PREFERENCE: string; declare const PREFERENCE_TAB: Record; // declare const FAV_LIST: Record[]; declare const USER_PATHNAME: string; declare const CHANGE_ITEMCODE: Number[]; declare const RECYCLE_BIN: string; declare const WORKFLOW_ERROR_PATHNAME: string; // declare const WORKFLOW_ACTION: Record[]; declare const CHAT_PATHNAME: string; declare const ALL_USERGROUP: string; declare const ROUTES: Record[]; declare const WORKFLOW_API_PREFIX: string; declare const EXT_PATHNAME: string; declare const isDevelopment: boolean; interface Window { moudleQiankunAppLifeCycles: any; proxy: any; } interface ImportMetaEnv { [key: string]: any; BASE_URL: string; MODE: string; DEV: boolean; PROD: boolean; SSR: boolean; } // interface ImportMeta { // url: string; // readonly hot?: import('vite/types/hot').ViteHotContext; // readonly env: ImportMetaEnv; // glob: import('vite/types/importGlob').ImportGlobFunction; // } declare const GLOBAL_TABLE_TOP_CLASS: string; declare const GLOBAL_ATTR_TITLE: string; declare const DEPLOY_VERSION: string; interface Window { luckysheet: any; /**个性化设置的滚动加载页数 */ pageSize: number; }