export declare function isWebPlatform(platform?: string): boolean;
export interface UpgradeItem {
    productScene?: string;
    v: string;
    appVersion: string;
    platform?: string;
    mid?: string;
    greyscale?: string;
}
export interface UpgradeSdkInfo {
    productScene?: string;
    sdkVersion: string;
    appVersion?: string;
    greyscale?: number;
    mid?: string;
}
export declare function findUpgradeVersion(upgradeItems: UpgradeItem[], sdkInfo: UpgradeSdkInfo): string;
export declare const getGrascaleId: (key?: string) => string;
export declare function getGrayscaleValue(seed?: string): number;
export declare function isGreyscaleMatch(item: UpgradeItem, randomGreyscale: number): boolean;
/**
 * 查询匹配到的版本
 * @param _extendInfo
 * @param param1
 * @returns
 */
export declare const getMatchAppVersion: (_extendInfo: string, sdkInfo: UpgradeSdkInfo) => string;
/**
 * 获取保存的加载版本
 * @param versionKey
 * @returns
 */
export declare const getLastAppVersion: (versionKey: string) => string;
/**
 * 保存指定场景的加载版本供下次使用
 * @param versionKey
 * @returns
 */
export declare const setLastAppVersion: (versionKey: string, appVersion: string) => boolean;
