export declare function getLoginUrlInPixui(baseUrl: string): string;
/**
 * 用户登录（初始化游戏accToken等字段）
 * @example
 * ```ts
 * import { loginInPixui, getLoginUrlInPixui } from 't-comm/es/pixui';
 *
 * await loginInPixui();
 *
 * // 拼接登录态参数
 * const url = getLoginUrlInPixui('https://api.example.com/foo');
 * // => https://api.example.com/foo?appid=xxx&openid=xxx&access_token=xxx&acctype=wx
 * ```
 */
export declare const loginInPixui: () => Promise<void>;
