import type { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; /** * @param arr the array to encode. * @param stream the stream. * @param encodeElementFunc The function to encode a single array element. */ export declare function encodeArray(arr: T[] | null, stream: OutputBinaryStream, encodeElementFunc: (value: T, stream: OutputBinaryStream) => void): void; /** * decode an array from a BinaryStream * @param stream the stream. * @param decodeElementFunc The function to decode a single array element. * This function returns the element decoded from the stream * @returns an array of elements or null */ export declare function decodeArray(stream: BinaryStream, decodeElementFunc: (stream: BinaryStream) => T): T[] | null;