import { LiveTree } from "../api/livetree/livetree.js"; import { CssAnimHandle } from "./animate.types.js"; import { KeyframesManager } from "./keyframes.types.js"; import { StyleSetter } from "../api/livetree/managers/style-setter.js"; import { PropertyManager } from "./at-property.types.js"; import { StyleGetMany, StyleGetter } from "../api/livetree/managers/style-getter.js"; import type { AllowedStyleKey, CssValue, CssVarName } from "../core/style.types.js"; export type { AllowedStyleKey, CssKey, CssMap, CssMapBase, CssProp, CssPseudoKey, CssRule, CssRuleBlock, CssRuleBuilder, CssText, CssUnit, CssValue, CssVarName, } from "../core/style.types.js"; /** * Public-facing handle for working with QUID-scoped stylesheet rules. * * A `CssHandle` typically corresponds to one or more QUID selectors and * provides a small, declarative API for managing rules associated with * them. * * Methods: * - `set(property, value)`: * - Add or update a single declaration for all bound QUIDs. * - `setMany(decls)`: * - Add or update multiple declarations in one call. * - `unset(property)`: * - Remove the given property from all rules under this handle. * - `clear()`: * - Remove all declarations managed by this handle. * * Implementations are expected to reconcile these calls with an * underlying `