import type { Compiler } from "webpack"; interface JsxLocPluginOptions { include?: RegExp | RegExp[]; exclude?: RegExp | RegExp[]; } /** * Webpack plugin that adds data-loc attributes to JSX elements * to help with component tracking and debugging. * * Note: This plugin uses estree-walker v2.x, which has better compatibility * with various package bundlers. */ export declare class JsxLocPlugin { private options; constructor(options?: JsxLocPluginOptions); apply(compiler: Compiler): void; } export default JsxLocPlugin;