import { type Range } from "../../parser"; import { type Extracted, Extractor } from "../../util/extractor"; export interface ExtractCSSModuleOptions { code: string; fileName: string; } /** * Produce a virtual TypeScript module typing a CSS module's default export as * an object of its class/id names. The type is exported directly (not via a * named `const`) so no internal binding name leaks into hover/go-to-definition, * and each name is mapped back to every selector it was defined at. */ export declare function extractCSSModule(opts: ExtractCSSModuleOptions): Extracted; /** * Write an object type whose properties are the given CSS module class/id * names, each source-mapped to the selector(s) it was defined at. Shared by the * standalone `.module.css` extractor and the embedded `