AES: {
create(opts?: { alg: string; length: number }): Promise<CryptoKey>;
decrypt(
encryptedData: string | Uint8Array<ArrayBufferLike>,
cryptoKey: ArrayBuffer | Uint8Array<ArrayBufferLike> | CryptoKey,
iv?: Uint8Array<ArrayBufferLike>,
): Promise<Uint8Array<ArrayBufferLike>>;
encrypt(
data: Uint8Array<ArrayBufferLike>,
cryptoKey: Uint8Array<ArrayBufferLike> | CryptoKey,
iv?: Uint8Array<ArrayBufferLike>,
): Promise<Uint8Array<ArrayBufferLike>>;
export(key: CryptoKey): Promise<Uint8Array<ArrayBufferLike>>;
exportAsString(key: CryptoKey): Promise<string>;
import(key: string | Uint8Array<ArrayBufferLike>): Promise<CryptoKey>;
} = ...