UNPKG

@juzi/wechaty

Version:

Wechaty is a RPA SDK for Chatbot Makers.

39 lines 1.47 kB
import type * as PUPPET from '@juzi/wechaty-puppet'; import type { Constructor } from 'clone-class'; declare const ChannelCardMixin_base: ((abstract new (...args: any[]) => { readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface; }) & { readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface; }) & { new (): {}; }; declare class ChannelCardMixin extends ChannelCardMixin_base { readonly payload: PUPPET.payloads.ChannelCard; /** * * Create * */ static create(): Promise<ChannelCardInterface>; constructor(payload: PUPPET.payloads.ChannelCard); avatar(): undefined | string; extras(): undefined | string; nickname(): undefined | string; url(): undefined | string; authIconUrl(): undefined | string; authJob(): undefined | string; } declare const ChannelCardImpl_base: { new (...args: any[]): {}; valid: (o: any) => o is ChannelCardInterface; validInstance: (target: any) => target is ChannelCardMixin; validInterface: (target: any) => target is ChannelCardInterface; } & typeof ChannelCardMixin; declare class ChannelCardImpl extends ChannelCardImpl_base { } interface ChannelCardInterface extends ChannelCardImpl { } declare type ChannelCardConstructor = Constructor<ChannelCardInterface, typeof ChannelCardImpl>; export type { ChannelCardConstructor, ChannelCardInterface, }; export { ChannelCardImpl, }; //# sourceMappingURL=channel-card.d.ts.map