export interface ISwrOptions { swrMode?: boolean; cacheTime?: number; forceClear?: boolean; } /** * 获取单个临时链接 * 单个cos文件,返回字符串 * 多个cos文件,返回 {fileID: src} 这样的对象 */ export declare function getTempFileURL(data: any): Promise; /** * 云函数获取数据 */ export declare function callDataSource(param: { dataSourceName: string; methodName: string; params: Record | any; viewId?: string; swr?: ISwrOptions; }, throwError?: boolean): Promise; /** * 云函数获取API数据 */ export declare function callConnector(param: any, throwError?: boolean): Promise; /** * 云API:获取用户自定义导航内容 * param * WeAppId: string, * EnvId: string, * PublishType?: string, */ export declare function getAppCustomNav(): Promise; export declare const getIsExitApi: (params: any) => Promise; export declare const callWedaApi: (params: any) => any; export declare const callFunction: (...args: any[]) => any; export declare function getCloudInstance(): Promise; export declare const appCloudCallWorkFlow: (params: any) => any; export declare const appCloudCallWedaApi: (params: any) => any; export declare const appCloudGetDataSourceProfile: (dbName: any) => any; export declare const appCloudGetWedaUserId: () => any; export declare const appCloudIsInWedaIde: () => any; export declare const appCloudGetWedaRelatedRoles: () => any; export declare function appCloudShowWedaToast(params: any): any;