import { Room } from 'wechaty'; /** * string here should be the room id only. * topic should use the RegExp as the filter */ type RoomMatcherFunction = (room: Room) => boolean | Promise; type RoomMatcherOption = boolean | string | RegExp | RoomMatcherFunction; export type RoomMatcherOptions = RoomMatcherOption | RoomMatcherOption[]; type MatchRoomFunction = (room: Room) => Promise; export declare function roomMatcher(matcherOptions?: RoomMatcherOptions): MatchRoomFunction; export {}; //# sourceMappingURL=room-matcher.d.ts.map