import { Contact, Room } from 'wechaty'; import type * as types from '../types/mod.js'; type ContactTalkerFunction = (contact: Contact, room?: Room) => types.TalkerMessage | Promise; type ContactTalkerOption = types.TalkerMessage | ContactTalkerFunction; export type ContactTalkerOptions = ContactTalkerOption | ContactTalkerOption[]; export declare function contactTalker(options?: ContactTalkerOptions): (() => undefined) | ((contact: Contact, room?: Room, mustacheView?: T) => Promise); export {}; //# sourceMappingURL=contact-talker.d.ts.map