import '../cssinjs/index.mjs';
import { useToken as useToken$1, defaultConfig } from './internal.mjs';
import derivative from './themes/default/index.mjs';
import derivative$1 from './themes/dark/index.mjs';
import derivative$2 from './themes/compact/index.mjs';
import './interface/index.mjs';
export { default as genComponentStyleHook } from './util/genComponentStyleHook.mjs';
export { merge as mergeToken, statistic, default as statisticToken } from './util/statistic.mjs';
export { PresetColors } from './interface/presetColors.mjs';
export { default as useStyleRegister } from '../cssinjs/hooks/useStyleRegister/index.mjs';

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

export { defaultConfig, theme, useToken$1 as useToken };
//# sourceMappingURL=index.mjs.map
