import React from 'react'; import { GetUserInfoData } from '../open-type-button'; import { LoginData } from '../login'; export interface Props { /** * 授权医院 */ hisName: React.ReactNode; /** * 医院code,web端授权会用到 */ hisCode?: string; /** * 支付宝小程序需要授权的权限 */ aliScopes?: string[]; /** * 授权事件 */ onAuthorization: (data: LoginData & GetUserInfoData) => Promise; /** * 医院logo,设置后将不会显示用户头像 */ logo?: string; /** * 用户协议链接 */ agreementUrl?: string; /** * 首页链接,点击暂不授权将会跳到首页 */ homeUrl?: string; } declare const _default: ({ hisName, onAuthorization, hisCode, aliScopes, logo, homeUrl, agreementUrl, }: Props) => React.JSX.Element; export default _default;