UNPKG

matrix-react-sdk

Version:
10 lines (9 loc) 418 B
/** * If dehydration is enabled (i.e., it is supported by the server and enabled in * the configuration), rehydrate a device (if available) and create * a new dehydrated device. * * @param createNewKey: force a new dehydration key to be created, even if one * already exists. This is used when we reset secret storage. */ export declare function initialiseDehydration(createNewKey?: boolean): Promise<void>;