import webpack = require('webpack'); import { Service, TransformOptions } from 'esbuild'; import { Except } from 'type-fest'; export declare type Compiler = webpack.Compiler & { $esbuildService?: Service; }; declare type Filter = string | RegExp; declare type FilterObject = { include?: Filter | Filter[]; exclude?: Filter | Filter[]; }; export declare type LoaderOptions = Except; export declare type MinifyPluginOptions = Except & FilterObject; export {};