import { IBridgeOptions } from './interface'; interface IFundAccountToken { /** * 资金账号登录 token * * @type {string} * @memberof IFundAccountToken */ accessToken: string; } interface IFundAccountTokenResponse { success?: (result: IFundAccountToken) => void; fail?: (result: IFundAccountToken) => void; complete?: (result: IFundAccountToken) => void; } /** * 获取资金账号登录 token * @param cb * result -> {'accessToken': '******'} * */ declare function getUserFundAccountTokenSync({ success, fail, complete }: IBridgeOptions): void; /** * 获取资金账号登录 token
* 一个异步接口,支持 Promise 化使用 * * @returns {Promise} */ declare function getUserFundAccountToken(): Promise; export { getUserFundAccountToken, getUserFundAccountTokenSync };