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

20 lines
741 B
TypeScript

import { type IServerVersions } from "./client.ts";
export declare enum ServerSupport {
Stable = 0,
Unstable = 1,
Unsupported = 2
}
export declare enum Feature {
Thread = "Thread",
ThreadUnreadNotifications = "ThreadUnreadNotifications",
/**
* @deprecated this is now exposed as a capability not a feature
*/
LoginTokenRequest = "LoginTokenRequest",
RelationBasedRedactions = "RelationBasedRedactions",
AccountDataDeletion = "AccountDataDeletion",
RelationsRecursion = "RelationsRecursion",
IntentionalMentions = "IntentionalMentions"
}
export declare function buildFeatureSupportMap(versions: IServerVersions): Promise<Map<Feature, ServerSupport>>;
//# sourceMappingURL=feature.d.ts.map