export type { CssNode, CssNodeType, ListItem, ParseOptions } from './parse/index'; export type { Adapter, CompiledQuery, Options } from './select/index'; export type { Selector, SelectorType } from './what/index'; export type { MinifyOptions, MinifyResult, Specificity } from './optimize/index'; /** * @stacksjs/ts-css — pure-TypeScript CSS toolkit. * * Top-level surface re-exports the four sub-modules: * - parse — CSS parser/walker/generator (replaces css-tree) * - what — selector parser (replaces css-what) * - select — selector matching (replaces css-select) * - optimize — CSS minifier + specificity (replaces csso) */ export * from './config'; // Sub-module namespaces — `import * as csstree from '@stacksjs/ts-css'` etc. export * as csstree from './parse/index'; export * as cssWhat from './what/index'; export * as cssSelect from './select/index'; export * as csso from './optimize/index'; // Top-level convenience re-exports export { clone, generate, List, parse, walk } from './parse/index'; export { is, selectAll, selectOne } from './select/index'; export { isTraversal, parse as parseSelector, stringify as stringifySelector } from './what/index'; export { minify, minifyBlock, specificity, syntax } from './optimize/index'; export * from './types';