
import { ParserOptions, ProcessedStyle, StyleDetails } from "./types.js";

//#region src/tasty/parser/parser.d.ts
declare class StyleParser {
  private opts;
  private cache;
  constructor(opts?: ParserOptions);
  process(src: string): ProcessedStyle;
  setFuncs(funcs: Required<ParserOptions>['funcs']): void;
  setUnits(units: Required<ParserOptions>['units']): void;
  updateOptions(patch: Partial<ParserOptions>): void;
  /**
   * Clear the parser cache.
   * Call this when external state that affects parsing results has changed
   * (e.g., predefined tokens).
   */
  clearCache(): void;
  /**
   * Get the current units configuration.
   */
  getUnits(): ParserOptions['units'];
}
//#endregion
export { StyleParser };
//# sourceMappingURL=parser.d.ts.map