UNPKG

im-ui-mobile

Version:

A Vue3.0 + Typescript instant messaging component library for Uniapp

31 lines (26 loc) 777 B
import { AllowedComponentProps, VNodeProps } from '../common' import { UserInfo } from '../../libs' declare interface RtcInfo { userInfos: Array<{ id: number nickName: string headImage: string isCamera?: boolean isMicroPhone?: boolean }> host: any } declare interface GroupRtcJoinProps { groupId?: number } declare interface GroupRtcJoinEmits { (e: 'ok', groupId: number, inviterId: number, userInfos: string): void } declare interface _GroupRtcJoin { new(): { $props: AllowedComponentProps & VNodeProps & GroupRtcJoinProps $emit: GroupRtcJoinEmits } open: (userInfo: UserInfo, rtcInfo: RtcInfo) => void } export declare const GroupRtcJoin: _GroupRtcJoin