import { TypedArray } from '../tdf/index.js';
/**
 * Encrypt the plain data into nanotdf buffer
 *
 * @param policy Policy that will added to the nanotdf
 * @param kasPubCrtAsPem KAS public crt in pem format
 * @param kasUrl KAS url as string
 * @param ephemeralKeyPair SDK ephemeral key pair to generate symmetric key
 * @param data The data to be encrypted
 */
export default function encrypt(policy: string, kasPubCrtAsPem: string, kasUrl: string, ephemeralKeyPair: CryptoKeyPair, iv: Uint8Array, data: string | TypedArray | ArrayBuffer): Promise<ArrayBuffer>;
//# sourceMappingURL=encrypt.d.ts.map