/**
 * Provides an internal sink that accumulates hash or encoding results,
 * tracking appended byte events and the latest result.
 *
 * @private
 */
export declare class _PdfNativeAccumulatorSink {
    /**
     * Holds the most recently computed result bytes.
     *
     * @private
     */
    _result: Uint8Array;
    /**
     * Maintains the ordered list of events appended to the sink.
     *
     * @private
     */
    _events: Array<{
        bytes: Uint8Array;
    }>;
    /**
     * Appends a new byte event to the sink and updates the current result.
     *
     * @private
     * @param {{bytes: Uint8Array}} event The event containing the bytes to add. // eslint-disable-line
     * @returns {void} nothing.
     */
    _add(event: {
        bytes: Uint8Array;
    }): void;
    /**
     * Sets the accumulator result and replaces the internal event list with a single entry.
     *
     * @private
     * @param {Uint8Array} result The byte sequence to assign as the current result.
     * @returns {void} nothing.
     */
    _setResult(result: Uint8Array): void;
    /**
     * Retrieves the most recently stored result bytes from the accumulator.
     *
     * @private
     * @returns {Uint8Array | null} The latest events byte value, or the stored result if no events exist.
     */
    _getResult(): Uint8Array | null;
}
/**
 * Provides an internal buffered hash input adapter that accepts byte chunks
 * and emits the final digest to an accumulator sink on close.
 *
 * @private
 */
export declare class _PdfNativeHashInput {
    private _hasher;
    private _outputSink;
    private _buffer;
    private _closed;
    constructor(hasher: any, outputSink: _PdfNativeAccumulatorSink);
    /**
     * Appends a chunk of data to the internal buffer for later hashing.
     *
     * @private
     * @param {Uint8Array} data The byte array to append.
     * @throws {Error} Thrown if data is added after the input is closed.
     * @returns {void} nothing.
     */
    _add(data: Uint8Array): void;
    /**
     * Finalizes the input, computes the hash over the buffered data, and pushes the result
     * to the output sink. Subsequent calls are ignored.
     *
     * @private
     * @returns {void} This method does not return a value.
     */
    _close(): void;
}
/**
 * Represents an internal ASN.1 AlgorithmIdentifier encoder that produces
 * DER-encoded bytes for an algorithm OID with a NULL parameter.
 *
 * @private
 */
export declare class _PdfNativeAlgorithmIdentifier {
    private _oid;
    constructor(oid: string);
    /**
     * Encodes the algorithm identifier as DER: SEQUENCE { OBJECT IDENTIFIER, NULL }.
     *
     * @private
     * @returns {Uint8Array} The DER-encoded AlgorithmIdentifier bytes.
     */
    _getEncoded(): Uint8Array;
    /**
     * Encodes a dotted string object identifier (e.g., "1.2.840.113549") into DER form.
     *
     * @private
     * @param {string} oidString The dotted OID string to encode.
     * @returns {Uint8Array} The DER-encoded OBJECT IDENTIFIER bytes.
     */
    _encodeObjectIdentifier(oidString: string): Uint8Array;
}
