export type PopupFn = (option: { title?: string; content: string; cancelText?: string; confirmText: string; onCancel?: () => void; onConfirm: () => void; }) => void; export type ToastFn = (content: string, timeout?: number) => void; export interface GamerSession { /** 世游通行证 ID */ seayoo_user_id?: string; /** 手机号码(掩码形式) */ seayoo_mobile?: string; /** * 世游通行证用户实名信息(掩码形式);即将去除此字段,使用 has_real_name 代替 * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OdGVCdQxEu * @deprecated */ seayoo_real_name?: string; /** 是否已经具有世游通行证用户实名信息 */ has_real_name?: boolean; /** Combo ID */ combo_id?: string; /** * combo_id 背后的 IdP * * 取值参见 [Combo Client REST API 中的 idp](https://kdocs.cn/l/cg0cfHzazsta?linkname=ZVDdf1pe48),仅当 combo_id 有值时才有值 */ combo_idp?: string; }