summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-js-sdk/lib/feature.d.ts
blob: 72d913c3401816ec4153660d49a55e61eb622e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { IServerVersions } from "./client";
export declare enum ServerSupport {
    Stable = 0,
    Unstable = 1,
    Unsupported = 2
}
export declare enum Feature {
    Thread = "Thread",
    ThreadUnreadNotifications = "ThreadUnreadNotifications",
    LoginTokenRequest = "LoginTokenRequest",
    RelationBasedRedactions = "RelationBasedRedactions",
    AccountDataDeletion = "AccountDataDeletion"
}
export declare function buildFeatureSupportMap(versions: IServerVersions): Promise<Map<Feature, ServerSupport>>;
//# sourceMappingURL=feature.d.ts.map