import { IBridgeOptions } from './interface'; interface IAccountInfo { /** * 资金账号及密码加密串 * * @type {boolean} * @memberof IAccountInfoResponse * @example {'accountInfo': 'sdflsnx34dsfsdlf'} */ accountInfo: boolean; } interface IAccountInfoResponse { success?: (result: IAccountInfo) => void; fail?: (result: IAccountInfo) => void; complete?: (result: IAccountInfo) => void; } /** * 获取资金账号及密码加密串 * * @param {IBridgeOptions} { * success, * fail, * complete * } */ declare function getFundAccountAndPasswordSync({ success, fail, complete }: IBridgeOptions): void; /** * 获取资金账号及密码加密串 * 一个异步接口,支持 Promise 化使用 * * @returns {Promise} */ declare function getFundAccountAndPassword(): Promise; export { getFundAccountAndPassword, getFundAccountAndPasswordSync };