Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts
unfunny dfe4cc537f init
2026-09-13 00:29:11 -04:00

11 lines
580 B
TypeScript

import { type Relations, type RelationsEvent, type EventHandlerMap } from "./relations.ts";
import { type MatrixEvent } from "./event.ts";
import { type Listener } from "./typed-event-emitter.ts";
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