Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/event-mapper.d.ts

9 lines
398 B
TypeScript
Raw Normal View History

2026-09-12 23:57:45 -04:00
import { type MatrixClient } from "./client.ts";
import { type IEvent, MatrixEvent } from "./models/event.ts";
export type EventMapper = (obj: Partial<IEvent>) => MatrixEvent;
export interface MapperOpts {
preventReEmit?: boolean;
decrypt?: boolean;
}
export declare function eventMapperFor(client: MatrixClient, options: MapperOpts): EventMapper;
//# sourceMappingURL=event-mapper.d.ts.map