/**
 * @license
 * Copyright 2020 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { IndCpaCipher } from './ind_cpa_cipher';
/**
 * Implementation of AES-CTR.
 *
 * @final
 */
export declare class AesCtr implements IndCpaCipher {
    private readonly key;
    private readonly ivSize;
    /**
     * @param ivSize the size of the IV
     */
    constructor(key: CryptoKey, ivSize: number);
    /**
     */
    encrypt(plaintext: Uint8Array): Promise<Uint8Array>;
    /**
     */
    decrypt(ciphertext: Uint8Array): Promise<Uint8Array>;
}
/**
 * @param ivSize the size of the IV, must be larger than or equal to
 *     {@link MIN_IV_SIZE_IN_BYTES}
 */
export declare function fromRawKey(key: Uint8Array, ivSize: number): Promise<IndCpaCipher>;
