/**
 * -------------------------------------------------------
 * 组件名称: DJCCookie
 * 组件功能: DJC cookie 控制插件
 * 联系人: v_rhfeng
 * 版本: 1.0
 * -------------------------------------------------------
 */
import type { GameletAPIImpl } from "../framework/gameletapi";
export declare function setGameletAPI(api: GameletAPIImpl): void;
declare class GetCookieDJCImpl {
    url: string;
    skey: string;
    uin: string;
    isRequesting: boolean;
    /**
     * 通过链接获取skey和uin
     * 结果将通过GameletAPI.dispatchEvent接口返回'djc_cookie_refresh_result'消息，内容是JSON.stringify({ skey:this.skey, uin:this.uin })
     * @param url 传入链接，不同业务不同，传空字符串""时默认使用逆战端游业务的链接
     * @returns
     */
    refreshCookieDJC(url: string): Promise<void>;
}
/**
 * 单例化
 */
export declare let GetCookieDJC: GetCookieDJCImpl;
export {};
