import type StringEncoderGetter from "../types/StringEncoderGetter.mjs"; import { ASN1Element, OBJECT_IDENTIFIER } from "@wildboar/asn1"; import type AttributeTypeAndValue from "../types/AttributeTypeAndValue.mjs"; export declare const backslashable: Set; export declare const hexable: Set; export declare function escapeATAV(str: string): string; /** * @summary String encode an LDAP value when the syntax is not known. * @description * * This function encodes a default value. * * @param value The value to encode. * @returns The encoded value. * @function */ export declare function defaultValueEncoder(value: ASN1Element): string; /** * @summary Stringify an attribute type and value according to RFC 4514. * @description * * This function stringifies an attribute type and value according to * [IETF RFC 4514](https://www.rfc-editor.org/rfc/rfc4514). * * @param atav The attribute type and value to stringify. * @param getEncoder A function that can be used to get a string encoder. * @param typeNameGetter A function that can be used to get an attribute type name. * @returns The stringified attribute type and value. * @function */ export declare function stringifyAttributeTypeAndValue(atav: AttributeTypeAndValue, getEncoder: StringEncoderGetter, typeNameGetter: (type: OBJECT_IDENTIFIER) => string | undefined): string; export default stringifyAttributeTypeAndValue; //# sourceMappingURL=AttributeTypeAndValue.d.mts.map