/** * Hardcoded EUI selector map derived from selector-map.md. * Each entry contains a parsed compound selector and the corresponding import metadata. */ export interface SelectorEntry { /** Element tag required (null = any element) */ element: string | null; /** Attribute selectors that must ALL be present */ attributes: string[]; /** The Angular class name */ className: string; /** The CLASS array constant name (null if none exists) */ classArray: string | null; /** The ES import path */ importPath: string; } /** * Parses a raw CSS-like selector string into element + attributes. * Examples: * "button[euiButton]" → { element: "button", attributes: ["euiButton"] } * "[euiTooltip]" → { element: null, attributes: ["euiTooltip"] } * "eui-tabs" → { element: "eui-tabs", attributes: [] } * "input[euiInputNumber][formControlName]" → { element: "input", attributes: ["euiInputNumber", "formControlName"] } */ export declare function parseSelector(raw: string): { element: string | null; attributes: string[]; }; /** All known EUI selectors with their import metadata */ export declare const SELECTOR_MAP: SelectorEntry[]; /** * Given a classArray name, returns all class names that belong to that array. * Used to detect when individual class names can be consolidated into a spread. */ export declare function getClassNamesForArray(arrayName: string): string[];