// eslint-disable-next-line spaced-comment, @typescript-eslint/triple-slash-reference /// /** * 获取插件接口. * * @template T Type of 插件接口. * @param name 插件名称. * @returns 插件接口. * @see https://opendocs.alipay.com/mini/plugin/plugin-usage#js%20%E6%8E%A5%E5%8F%A3 */ declare function requirePlugin (name: string): T; /** * 获取宿主小程序导出, 基础库`2.7.7`起提供. * * @template T Type of 宿主小程序导出. * @returns 宿主小程序导出. * @see https://opendocs.alipay.com/mini/plugin/plugin-development#%E8%8E%B7%E5%8F%96%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%AF%BC%E5%87%BA */ declare function requireMiniProgram (): T;