import { UofxDeviceInfo } from '@uofx/app-native'; /** * 全域系統設定值 */ export declare class UofxAppConfig { private static _serverUrl; /** 主機URL */ static get serverUrl(): string; /** 主機URL */ static set serverUrl(url: string); /** * 取得真正的url * @param url 要被轉換的網址, 使用~/ 開頭 */ static transUrl(url: string): string; /** * 轉換成 Server 的 URL * @param url 要被轉換的網址, 使用~/ 開頭 */ static transToServerUrl(url: string): string; private static _uploadSize; /** 單一檔案上傳限制(單位bytes) */ static get uploadSize(): number; /** 單一檔案上傳限制(單位bytes) */ static set uploadSize(upload: number); private static _remainingSize; /** 目前剩餘容量 (單位bytes) */ static get remainingSize(): number; /** 目前剩餘容量 (單位bytes) */ static set remainingSize(remain: number); private static _packVer; /** 軟體包版本 */ static get packVer(): string; /** 軟體包版本 */ static set packVer(ver: string); /** 殼的資訊 */ static get deviceInfo(): UofxDeviceInfo; /** 殼的資訊 */ static set deviceInfo(info: UofxDeviceInfo); }