import { WebpackPluginInstance, Compiler } from 'webpack'; import { TypestylesIntegrationMode, TypestylesExtractOptions } from '@typestyles/build-runner'; export { DEFAULT_EXTRACT_MODULE_CANDIDATES, TypestylesExtractOptions, discoverDefaultExtractModules } from '@typestyles/build-runner'; interface TypestylesWebpackPluginOptions { warnDuplicates?: boolean; mode?: TypestylesIntegrationMode; extract?: TypestylesExtractOptions; root?: string; } /** * webpack plugin for typestyles runtime + optional static extraction. */ declare class TypestylesWebpackPlugin implements WebpackPluginInstance { private readonly warnDuplicates; private readonly mode?; private readonly extract?; private readonly root; private readonly moduleNamespaces; private readonly resolvedExtractModules; private readonly resolvedMode; constructor(options?: TypestylesWebpackPluginOptions); apply(compiler: Compiler): void; } export { type TypestylesWebpackPluginOptions, TypestylesWebpackPlugin as default };