Add .d.ts files
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
export = decrypt;
|
||||
/**
|
||||
*
|
||||
* @param {object} param0
|
||||
* @param {string} param0.encryptedString
|
||||
* @param {string} param0.encryptionKey
|
||||
* @param {string} param0.encryptionSalt
|
||||
* @returns
|
||||
*/
|
||||
declare function decrypt({ encryptedString, encryptionKey, encryptionSalt }: {
|
||||
encryptedString: string;
|
||||
encryptionKey: string;
|
||||
encryptionSalt: string;
|
||||
}): string;
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
export = encrypt;
|
||||
/**
|
||||
*
|
||||
* @param {object} param0
|
||||
* @param {string} param0.data
|
||||
* @param {string} param0.encryptionKey
|
||||
* @param {string} param0.encryptionSalt
|
||||
* @returns {string | null}
|
||||
*/
|
||||
declare function encrypt({ data, encryptionKey, encryptionSalt }: {
|
||||
data: string;
|
||||
encryptionKey: string;
|
||||
encryptionSalt: string;
|
||||
}): string | null;
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
declare function _exports({ password, encryptionKey }: {
|
||||
password: string;
|
||||
encryptionKey: string;
|
||||
}): string;
|
||||
export = _exports;
|
||||
Reference in New Issue
Block a user