21 lines
707 B
TypeScript
Raw Normal View History

import IonDocumentModel from './models/IonDocumentModel.js';
import JwkEs256k from './models/JwkEs256k.js';
/**
* Class containing DID related operations.
*/
export default class IonDid {
/**
* Creates a long-form DID.
* @param input.document The initial state to be associate with the ION DID to be created using a `replace` document patch action.
*/
static createLongFormDid(input: {
recoveryKey: JwkEs256k;
updateKey: JwkEs256k;
document: IonDocumentModel;
}): Promise<string>;
/**
* Computes the DID unique suffix given the encoded suffix data string.
*/
private static computeDidUniqueSuffix;
}
//# sourceMappingURL=IonDid.d.ts.map