summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts')
-rw-r--r--includes/external/matrix/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts
new file mode 100644
index 0000000..1b1cbcc
--- /dev/null
+++ b/includes/external/matrix/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts
@@ -0,0 +1,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 \ No newline at end of file