export type Adler32AcceptDataType = string | BigUint64Array | Uint8Array | Uint16Array | Uint32Array;
/**
 * Get the checksum of the data with algorithm Adler32.
 */
export declare class Adler32 {
    #private;
    get [Symbol.toStringTag](): string;
    /**
     * Initialize.
     * @param {Adler32AcceptDataType} [data] Data. Can append later via the method {@linkcode Adler32.update} and {@linkcode Adler32.updateFromStream}.
     */
    constructor(data?: Adler32AcceptDataType);
    /**
     * Whether the instance is freezed.
     * @returns {boolean}
     */
    get freezed(): boolean;
    /**
     * Freeze the instance to prevent any further update.
     * @returns {this}
     */
    freeze(): this;
    /**
     * Get the checksum of the data, in Uint8Array.
     * @returns {Uint8Array}
     */
    hash(): Uint8Array;
    /**
     * Get the checksum of the data, in hexadecimal with padding.
     * @returns {string}
     */
    hashHex(): string;
    /**
     * Append data.
     * @param {Adler32AcceptDataType} data Data.
     * @returns {this}
     */
    update(data: Adler32AcceptDataType): this;
    /**
     * Append data from the readable stream.
     * @param {ReadableStream<Adler32AcceptDataType>} stream Data from the readable stream.
     * @returns {Promise<this>}
     */
    updateFromStream(stream: ReadableStream<Adler32AcceptDataType>): Promise<this>;
}
export default Adler32;
//# sourceMappingURL=mod.d.ts.map