import { decode } from "he"; import { invisibleZeroWidthCharacters } from "./utils/characters"; import { colorCalculateDistance } from "./utils/colorCalculateDistance"; import decideContrastColorValue from "./utils/colorDecideContrastvalue"; import { getEnabledColorPropertiesFromPalette, getEnabledColorsFromPalette, textToColorHash } from "./utils/colorHash"; import getColorConfiguration from "./utils/getColorConfiguration"; import { getScrollParent } from "./utils/getScrollParent"; import { getGlobalVar, setGlobalVar } from "./utils/globalVars"; import { openInNewTab } from "./utils/openInNewTab"; import { reduceToText } from "./utils/reduceToText"; import { truncateMarkdownDisplay } from "./utils/truncateMarkdownDisplay"; export type { DecodeOptions as DecodeHtmlEntitiesOptions } from "he"; export type { IntentTypes as IntentBaseTypes } from "./Intent"; export { IntentBlueprint } from "./Intent"; export const utils = { openInNewTab, decideContrastColorValue, colorCalculateDistance, getColorConfiguration, invisibleZeroWidthCharacters, getGlobalVar, setGlobalVar, getScrollParent, getEnabledColorsFromPalette, getEnabledColorPropertiesFromPalette, textToColorHash, reduceToText, truncateMarkdownDisplay, decodeHtmlEntities: decode, };