import { MatrixClient } from "./client";
import { IEvent, MatrixEvent } from "./models/event";
export declare type EventMapper = (obj: Partial<IEvent>) => MatrixEvent;
export interface MapperOpts {
    preventReEmit?: boolean;
    decrypt?: boolean;
}
export declare function eventMapperFor(client: MatrixClient, options: MapperOpts): EventMapper;
