import { BitString } from "@peculiar/asn1-schema";
export declare enum PKIFailureInfoFlags {
    /**
     * unrecognized or unsupported Algorithm Identifier
     */
    badAlg = 1,
    /**
     * transaction not permitted or supported
     */
    badRequest = 2,
    /**
     * the data submitted has the wrong format
     */
    badDataFormat = 16,
    /**
     * the TSA's time source is not available
     */
    timeNotAvailable = 8192,
    /**
     * the requested TSA policy is not supported by the TSA
     */
    unacceptedPolicy = 16384,
    /**
     * the requested extension is not supported by the TSA
     */
    unacceptedExtension = 32768,
    /**
     * the additional information requested could not be understood
     * or is not available
     */
    addInfoNotAvailable = 65536,
    /**
     * the request cannot be handled due to system failure
     */
    systemFailure = 16777216
}
export type PKIFailureInfoType = keyof typeof PKIFailureInfoFlags;
export type PKIFailureInfoJson = PKIFailureInfoType[];
/**
 * ```asn1
 * PKIFailureInfo ::= BIT STRING {
 *  badAlg               (0),
 *    -- unrecognized or unsupported Algorithm Identifier
 *  badRequest           (2),
 *    -- transaction not permitted or supported
 *  badDataFormat        (5),
 *    -- the data submitted has the wrong format
 *  timeNotAvailable    (14),
 *    -- the TSA's time source is not available
 *  unacceptedPolicy    (15),
 *    -- the requested TSA policy is not supported by the TSA
 *  unacceptedExtension (16),
 *    -- the requested extension is not supported by the TSA
 *   addInfoNotAvailable (17)
 *     -- the additional information requested could not be understood
 *     -- or is not available
 *   systemFailure       (25)
 *     -- the request cannot be handled due to system failure  }
 * ```
 */
export declare class PKIFailureInfo extends BitString {
    toJSON(): PKIFailureInfoJson;
    toString(): string;
}
