import type { Attribute } from "../modules/InformationFramework/Attribute.ta.mjs"; /** * @summary Get the size of an attribute in bytes * @description * * Get the size of an X.500 directory attribute in bytes, using the * DER encoding of the tag and length. This implementation is somewhat * inaccurate in the interest of simplicity and performance, since it is likely * to be called very frequently. * * Despite a `.map().reduce()` implementation being more elegant, this is * written using for loops, which are far more performant. * * @param {Attribute} attr The attribute whose size is to be evaluated * @returns {number} The size of the attribute in bytes * @function */ export declare function getAttributeSize(attr: Attribute): number; export default getAttributeSize; //# sourceMappingURL=getAttributeSize.d.mts.map