blob: 24af3fc47b6acf19940e6dba9689f9c49066c9a7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { MatrixClient } from "./client";
import { IEvent, MatrixEvent } from "./models/event";
export type EventMapper = (obj: Partial<IEvent>) => MatrixEvent;
export interface MapperOpts {
preventReEmit?: boolean;
decrypt?: boolean;
toDevice?: boolean;
}
export declare function eventMapperFor(client: MatrixClient, options: MapperOpts): EventMapper;
//# sourceMappingURL=event-mapper.d.ts.map
|