import { Message } from 'wechaty'; type MessageMatcherFunction = (msg: Message) => boolean | Promise; type MessageMatcherOption = boolean | string | RegExp | MessageMatcherFunction; export type MessageMatcherOptions = MessageMatcherOption | MessageMatcherOption[]; type MatchMessageFunction = (message: Message) => Promise; declare function messageMatcher(matcherOptions?: MessageMatcherOptions): MatchMessageFunction; export { messageMatcher, }; //# sourceMappingURL=message-matcher.d.ts.map