/** * @typedef {import('./types.js').EncryptionKeypair} EncryptionKeypair * @implements {EncryptionKeypair} */ export class AesKey implements EncryptionKeypair { static create(): Promise; /** * * @param {CryptoKey} key */ constructor(key: CryptoKey); /** * utf8 data -> base64pad cipher * returns base64 encrypted data with iv prepended * * @param {string} data */ encrypt(data: string): Promise; /** * base64pad cipher -> utf8 data * expects base64 encrypted data with iv prepended * * @param {string} data */ decrypt(data: string): Promise; #private; } export type EncryptionKeypair = import("./types.js").EncryptionKeypair; //# sourceMappingURL=aes-key.d.ts.map