import fetchRequest, { RequestOptions } from './request'; interface TableRefreshOptions { type: string; pageCode: string; } interface RS10Space { fetchRequest: typeof fetchRequest; getCurrentPath: () => string; getCurrentPathName: () => string; openPage: (url: string) => void; closePage: (key?: string) => void; backPage: () => void; reloadPage: () => void; getSysCode: () => string; getMenuCode: () => string; getPageCode: () => string; getParams: (url?: string) => any; savePageData: (pageCode: string, options?: Record) => any; getPageData: (pageCode: string, key?: string) => any; printPDF: (url: string, options?: RequestOptions) => void; notifyRefresh: (options: TableRefreshOptions) => void; SeedPage?: boolean; } interface InnerApp { getActivePath: () => string; getPathName: () => string; addTab: (params: { path: string; title: string; }) => void; removeTab: (key?: string) => void; getTabSysCode: () => string; getTabMenuCode: () => string; getTabPageCode: () => string; reloadTabPage: () => void; backTab: () => void; getTabParams: (key?: string) => any; } interface UserInfo { accountName: string; accountCode: string; companyCode: string; companyName: string; organizationCode: string; organizationName: string; } declare global { interface Window { RS10: RS10Space; InnerApp: InnerApp; USERINFO: UserInfo; AppContext?: { isApp?: boolean; env?: string; isWorkbench?: boolean; }; } } export declare const initRS10Global: () => void; export {};