declare function getCurrentWindow(key?: any): any; declare function getMainWindow(): Window & typeof globalThis; export declare function isPC(): boolean; declare const baseCore: { isPromise(obj: any): obj is Promise; isArray(arr: any): arr is any[]; isFunction(fn: any): fn is Function; isObject(obj: any): obj is Record; isNumber(v: any): v is number; isString(str: any): str is string; isBoolean(obj: any): obj is boolean; isDate(date: any): date is Date; isNullOrEmpty(val: any, except?: null | undefined | ''): boolean; isEmptyArray(arr: any): boolean; isSymbol(value: any): value is Symbol; isDOMNode(obj: any): any; deepCopy(obj: any, structuredClone?: boolean): any; validJson(jsonStr: string, type?: Array<'Array' | 'Object'> | 'Array' | 'Object'): boolean; jsonString(json: any, undefinedValue?: any): string; parseJson: (jsonStr: any) => any; firstCase(str: string): string; /** * 字段转换为小驼峰 * @param str 字段 */ toLowerCamelCase(str: string): string; /** * 驼峰转换为字段 * @param split 字段分割符 */ camelCaseToField(str: string, split?: string): string; /** * 变量children * @param data * @param todo */ loopChildren(data: any, todo: (row: any, i: number, level: number, parents: any) => boolean | void, level?: number, parents?: any, childrenKey?: string): false | undefined; setCache(key: string, value: any, option?: { type: 'local' | 'session'; }): void; getCache(key: string, option?: boolean | { type?: 'local' | 'session'; toObject?: boolean; }): T; removeCache(key: string, option?: { type: 'local' | 'session'; }): void; }; declare function setGlobalVar(key: any, value: any, app?: boolean): void; export declare function execJsFunction(jsFunction: any, value: any, extra?: {}): any; /** * 创建state更新器 * @param state * @param lastUpdater */ declare function createStateUpdater(state: any, lastUpdater?: any): any; export { getCurrentWindow, getMainWindow, setGlobalVar, createStateUpdater, baseCore };