"use strict";
// Copyright 2017-2020 @polkadot/types authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
function __export(m) {
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
// NOTE When adding any types here, we need to update the documentation links as
// well - <root>/docs/SUMMARY.md as well as ../README.md
const util_1 = require("@polkadot/util");
let dirname;
let pkgJson;
try {
    dirname = __dirname;
}
catch (error) {
    // ignore
}
try {
    pkgJson = require('./package.json');
}
catch (error) {
    pkgJson = require('../package.json');
}
util_1.detectPackage(pkgJson, dirname);
__export(require("./codec"));
__export(require("./index.types"));
var formatting_1 = require("./scripts/util/formatting");
exports.formatType = formatting_1.formatType;
