import type { CipherSuite, SealStreamOpts } from './types.js'; export declare class SealStream { /** Preamble sent before the first chunk: header [|| kemCiphertext] [|| commitment]. */ readonly preamble: Uint8Array; private readonly cipher; private readonly keys; private readonly chunkSize; private readonly framed; private counter; private state; constructor(cipher: CipherSuite, key: Uint8Array, opts?: SealStreamOpts); push(chunk: Uint8Array, opts?: { aad?: Uint8Array; }): Uint8Array; finalize(chunk: Uint8Array, opts?: { aad?: Uint8Array; }): Uint8Array; dispose(): void; toTransformStream(): TransformStream; }