export var WindowReferenceOptions;
(function (WindowReferenceOptions) {
    WindowReferenceOptions["ON_DEEP_LINK_CLICK"] = "onDeepLinkClick";
    WindowReferenceOptions["REQUEST_INTERCEPTOR"] = "requestInterceptor";
    WindowReferenceOptions["HOOKS"] = "hooks";
})(WindowReferenceOptions || (WindowReferenceOptions = {}));
export var MediaTypes;
(function (MediaTypes) {
    MediaTypes["OCTET_STREAM"] = "application/octet-stream";
    MediaTypes["MULTIPART"] = "multipart/form-data";
    MediaTypes["URL_ENCODED"] = "application/x-www-form-urlencoded";
    MediaTypes["JSON"] = "application/json";
    MediaTypes["XML"] = "application/xml";
})(MediaTypes || (MediaTypes = {}));
export const SECTION_ATTR = 'data-section-id';
export const FIELD_ATTR = 'data-field-id';
export const GROUP_DEPTH = 0;
export const LEGACY_REGEXP = '^ {0,3}<!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?-->\\s*$';
// prettier-ignore
export const MDX_COMPONENT_REGEXP = '(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>' // with children
    + '|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))'; // self-closing
export const COMPONENT_REGEXP = '(?:' + LEGACY_REGEXP + '|' + MDX_COMPONENT_REGEXP + ')';
export const DEFAULT_TAG_SLUG = 'other';
export const DEFAULT_WEBHOOKS_TAG_NAME = 'webhooks';
export const LOADING_STATE = {
    NOT_LOADED: 'NOT_LOADED',
    LOADING: 'LOADING',
    LOADED: 'LOADED',
};
//# sourceMappingURL=constants.js.map