export interface DerivedKeys { readonly bytes: Uint8Array; readonly kemCiphertext?: Uint8Array; readonly commitment?: Uint8Array; } export interface CipherSuite { readonly formatEnum: number; readonly formatName: string; readonly hkdfInfo: string; readonly keySize: number; readonly decKeySize?: number; readonly kemCtSize: number; readonly commitmentSize: number; readonly tagSize: number; readonly padded: boolean; readonly wasmChunkSize: number; deriveKeys(key: Uint8Array, nonce: Uint8Array, kemCt?: Uint8Array, header?: Uint8Array): DerivedKeys; sealChunk(keys: DerivedKeys, counterNonce: Uint8Array, chunk: Uint8Array, aad?: Uint8Array): Uint8Array; openChunk(keys: DerivedKeys, counterNonce: Uint8Array, chunk: Uint8Array, aad?: Uint8Array): Uint8Array; wipeKeys(keys: DerivedKeys): void; readonly wasmModules: readonly string[]; createPoolWorker(): Worker; } export interface SealStreamOpts { chunkSize?: number; framed?: boolean; }