blob: 1b1cbcce8c2a320c084e385ca4c3544d63ae09ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import { Relations, RelationsEvent, EventHandlerMap } from "./relations";
import { MatrixEvent } from "./event";
import { Listener } from "./typed-event-emitter";
export declare class RelatedRelations {
private relations;
constructor(relations: Relations[]);
getRelations(): MatrixEvent[];
on<T extends RelationsEvent>(ev: T, fn: Listener<RelationsEvent, EventHandlerMap, T>): void;
off<T extends RelationsEvent>(ev: T, fn: Listener<RelationsEvent, EventHandlerMap, T>): void;
}
//# sourceMappingURL=related-relations.d.ts.map
|