'use strict';

require('../cssinjs/index.cjs');
var internal = require('./internal.cjs');
var index$1 = require('./themes/default/index.cjs');
var index$2 = require('./themes/dark/index.cjs');
var index$3 = require('./themes/compact/index.cjs');
require('./interface/index.cjs');
var genComponentStyleHook = require('./util/genComponentStyleHook.cjs');
var statistic = require('./util/statistic.cjs');
var presetColors = require('./interface/presetColors.cjs');
var index = require('../cssinjs/hooks/useStyleRegister/index.cjs');

function useToken() {
  const [theme2, token, hashId] = internal.useToken();
  return { theme: theme2, token, hashId };
}
const theme = {
  /** @private Test Usage. Do not use in production. */
  defaultConfig: internal.defaultConfig,
  /** Default seedToken */
  defaultSeed: internal.defaultConfig.token,
  useToken,
  defaultAlgorithm: index$1.default,
  darkAlgorithm: index$2.default,
  compactAlgorithm: index$3.default
};

exports.defaultConfig = internal.defaultConfig;
exports.useToken = internal.useToken;
exports.genComponentStyleHook = genComponentStyleHook.default;
exports.mergeToken = statistic.merge;
exports.statistic = statistic.statistic;
exports.statisticToken = statistic.default;
exports.PresetColors = presetColors.PresetColors;
exports.useStyleRegister = index.default;
exports.theme = theme;
//# sourceMappingURL=index.cjs.map
