import { IBridgeOptions } from './interface'; interface IClient { /** * 客户编号 * * @type {string} * @memberof IClient * @example {'clientId': '123123we'} */ clientId: string; } interface IClientResponse { success?: (result: IClient) => void; fail?: (result: IClient) => void; complete?: (result: IClient) => void; } /** * 获取客户编号 * * @param {IBridgeOptions} { success, fail, complete } */ declare function getClientIdSync({ success, fail, complete }: IBridgeOptions): void; /** * 获取客户编号
* 一个异步接口,支持 Promise 化使用 * * @returns {Promise} */ declare function getClientId(): Promise; export { getClientId, getClientIdSync };