import { ASN1Element as _Element } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { Name } from "@wildboar/pki-stub";
import { KeyHash } from "../OCSP-2013-08/KeyHash.ta.mjs";
/**
 * @summary ResponderID
 * @description
 *
 * ### ASN.1 Definition:
 *
 * ```asn1
 * ResponderID  ::=  CHOICE {
 * byName   [1] Name,
 * byKey    [2] KeyHash }
 * ```
 */
export type ResponderID = {
    byName: Name;
} | {
    byKey: KeyHash;
};
/**
 * @summary Decodes an ASN.1 element into a(n) ResponderID
 * @function
 * @param {_Element} el The element being decoded.
 * @returns {ResponderID} The decoded data structure.
 */
export declare function _decode_ResponderID(el: _Element): ResponderID;
/**
 * @summary Encodes a(n) ResponderID into an ASN.1 Element.
 * @function
 * @param value The element being encoded.
 * @param elGetter A function that can be used to get new ASN.1 elements.
 * @returns {_Element} The ResponderID, encoded as an ASN.1 Element.
 */
export declare function _encode_ResponderID(value: ResponderID, elGetter: $.ASN1Encoder<ResponderID>): _Element;
//# sourceMappingURL=ResponderID.ta.d.mts.map