export type SelectorValidationResult = { success: false; error: string; } | { success: true; type: "pseudo-class" | "pseudo-element" | "attribute"; }; /** * Validates an open CSS state suffix scoped to the current element. * * Builder states are not a closed component-state enum. Valid pseudo-classes, * pseudo-elements, and attribute selectors may be compounded. Descendant and * child selectors may follow that state because the CSS engine anchors the * complete suffix to the generated instance selector. Selector lists, * unanchored selectors, and sibling combinators are rejected. * @param selector - The selector to validate (e.g., ":hover", "::before", "[data-state=open]") * @returns SelectorValidationResult with success status and type or error message */ export declare const validateSelector: (selector: string) => SelectorValidationResult;