
import { AtRuleContext, ParsedAdvancedState, StateParserContext, getGlobalPredefinedStates, setGlobalPredefinedStates } from "./states/index.js";
import { COMPUTE_FUNC_MAP, CSSMap, CUSTOM_UNITS, ComputeModel, DIRECTIONS, ParsedColor, RawStyleHandler, STATE_OPERATORS, STATE_OPERATOR_LIST, StyleHandler, StyleHandlerDefinition, StyleHandlerResult, StyleMap, StylePropValue, StyleStateData, StyleStateDataList, StyleStateDataListMap, StyleStateMap, StyleValue, StyleValueStateMap, buildAtRuleContext, computeState, customFunc, extendStyles, extractStyles, filterMods, getGlobalFuncs, getGlobalParser, getGlobalPredefinedTokens, getModSelector, getRgbValuesFromRgbaString, hexToRgb, isAdvancedStateToken, normalizeColorTokenValue, parseColor, parseStateNotation, parseStyle, resetGlobalPredefinedTokens, setGlobalPredefinedTokens, strToRgb, stringifyStyles, styleStateMapToStyleStateDataList } from "./utils/styles.js";
import { NoType, NotSelector, RecipeStyles, Selector, Styles, StylesInterface, StylesWithoutSelectors, SuffixForSelector, TastyNamedColors, TastyPresetNames } from "./styles/types.js";
import { RenderResult, StyleResult, isSelector, renderStyles } from "./pipeline/index.js";
import { CacheMetrics, DisposeFunction, InjectResult, KeyframesCacheEntry, KeyframesInfo, KeyframesResult, KeyframesSteps, PropertyDefinition, RawCSSResult, RootRegistry, RuleInfo, SheetInfo, StyleInjectorConfig, StyleRule } from "./injector/types.js";
import { StyleInjector } from "./injector/injector.js";
import { SheetManager } from "./injector/sheet-manager.js";
import { PropertyOptions, allocateClassName, cleanup, createInjector, destroy, getCssText, getCssTextForNode, getIsTestEnvironment, getRawCSSText, inject, injectGlobal, injectRawCSS, injector, isPropertyDefined, keyframes, property } from "./injector/index.js";
import { BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, COLOR_STYLES, CONTAINER_STYLES, DIMENSION_STYLES, FLOW_STYLES, INNER_STYLES, OUTER_STYLES, POSITION_STYLES, TEXT_STYLES } from "./styles/list.js";
import { AllBaseProps, BaseProps, BasePropsWithoutChildren, BaseStyleProps, BlockInnerStyleProps, BlockOuterStyleProps, BlockStyleProps, ColorStyleProps, ContainerStyleProps, DimensionStyleProps, FlowStyleProps, GlobalStyledProps, ModValue, Mods, OuterStyleProps, PositionStyleProps, Props, ShortGridStyles, TagName, TastyExtensionConfig, TastyThemeNames, TextStyleProps, TokenValue, Tokens } from "./types.js";
import { AllBasePropsWithMods, Element, ElementsDefinition, SubElementDefinition, SubElementProps, TastyElementOptions, TastyElementProps, TastyProps, tasty } from "./tasty.js";
import { UseStylesOptions, UseStylesResult, useStyles } from "./hooks/useStyles.js";
import { useGlobalStyles } from "./hooks/useGlobalStyles.js";
import { useRawCSS } from "./hooks/useRawCSS.js";
import { useKeyframes } from "./hooks/useKeyframes.js";
import { UsePropertyOptions, useProperty } from "./hooks/useProperty.js";
import "./hooks/index.js";
import { TastyPlugin, TastyPluginFactory } from "./plugins/types.js";
import { TastyConfig, configure, getConfig, getGlobalKeyframes, getGlobalRecipes, hasGlobalKeyframes, hasGlobalRecipes, hasStylesGenerated, isConfigLocked, isTestEnvironment, resetConfig } from "./config.js";
import { okhslFunc, okhslPlugin } from "./plugins/okhsl-plugin.js";
import "./plugins/index.js";
import { CHUNK_NAMES, ChunkInfo, ChunkName, STYLE_TO_CHUNK, categorizeStyleKeys } from "./chunks/definitions.js";
import "./chunks/index.js";
import { filterBaseProps } from "./utils/filter-base-props.js";
import { color } from "./utils/colors.js";
import { _modAttrs } from "./utils/mod-attrs.js";
import { styleHandlers } from "./styles/predefined.js";
import "./styles/index.js";
import { dotize } from "./utils/dotize.js";
import { mergeStyles } from "./utils/merge-styles.js";
import { resolveRecipes } from "./utils/resolve-recipes.js";
import { deprecationWarning, warn } from "./utils/warnings.js";
import { getDisplayName } from "./utils/get-display-name.js";
import { hslToRgbValues, processTokens, stringifyTokens } from "./utils/process-tokens.js";
import { TypographyPreset } from "../tokens/typography.js";
import { generateTypographyTokens } from "./utils/typography.js";
import { tastyDebug } from "./debug.js";