import sjcl from "sjcl"; interface EncryptionParams { ts: number; cs: number; } /** * AES-GCM TransformStream */ export declare class StreamEncryption { #private; constructor(key: string | sjcl.BitArray | undefined, iv: string | sjcl.BitArray | undefined, params?: EncryptionParams | string); /** * Return formatted encryption key */ getKey(): string; /** * Get encryption params */ getParams(): { ts: number; cs: number; }; /** * Get encryption TransformStream */ getEncryptionTransform(): TransformStream; /** * Get decryption TransformStream */ getDecryptionTransform(): TransformStream; _getCryptoStream(mode: number): TransformStream; } export {}; //# sourceMappingURL=stream-encryption.d.ts.map