import * as webpack from "webpack"; import { FaroSourceMapUploaderPluginOptions } from "@grafana/faro-bundlers-shared"; export interface WebpackFaroSourceMapUploaderPluginOptions extends FaroSourceMapUploaderPluginOptions { nextjs?: boolean; prefixPath?: string; } export default class FaroSourceMapUploaderPlugin implements webpack.WebpackPluginInstance { private appName; private apiKey; private stackId; private endpoint; private bundleId; private outputPathOverride?; private outputFiles?; private recursive?; private keepSourcemaps?; private gzipContents?; private verbose?; private skipUpload?; private maxUploadSize; private nextjs?; private proxy?; private prefixPath?; private prefixPathBasenameOnly?; constructor(options: WebpackFaroSourceMapUploaderPluginOptions); /** * Applies the plugin to the webpack compiler. Applies a BannerPlugin to the generated bundle containing the bundleId code snippet. * @param compiler The webpack compiler. */ apply(compiler: webpack.Compiler): void; }