/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * A 32-bit word array for AES algorithm.
 *
 * Note that we use signed integers so we can use JS bit shifts with signed 32-bit numbers.
 */
export type WordArray = Int32Array;
export declare function WordArray(length: number): WordArray;
export declare namespace WordArray {
    function fromByteArray(bytes: Uint8Array, alignment?: number): WordArray;
    function fromByteView(bytes: DataView, alignment?: number): WordArray;
    /**
     * Copy bytes into a 4-word block.  If the input bytes is too short sets missing bytes to zero.
     */
    function bytesToBlock(bytes: DataView, block: WordArray, byteOffset?: number): void;
    /**
     * Read a word from a byte array that may be smaller than four bytes.  On little-endian platforms, flips the byte
     * order.
     */
    function readPartialWord(bytes: DataView, offset: number, bytesAvailable?: number): number;
    /**
     * Inverse of {@link writePartialWord}.
     */
    function writePartialWord(word: number, bytes: DataView, offset: number, bytesAvailable?: number): void;
}
//# sourceMappingURL=WordArray.d.ts.map