import webpack, { Configuration, RuleSetUseItem } from "webpack"; import { Configuration as DevServerConfiguration } from "webpack-dev-server"; import { IContext, IOptions, TSupportedStyle, TWebpackConfFunction } from "./interface"; export declare function isMode(mode?: string): boolean; export declare const getNodeEnv: () => Configuration["mode"]; export declare function getCliMode(option: IOptions): webpack.Configuration["mode"]; export declare function getMode(options: IOptions): Configuration["mode"]; export declare function isProd(options: IOptions): boolean; export declare const isExtractCss: (options: IOptions, prod: boolean) => boolean; export declare const getPackageJSON: () => any; export declare const getPackageVersion: () => any; export declare const isBrowerListExist: () => boolean; export declare const devtool: TWebpackConfFunction; export declare const getBaseCssLoader: (options: IOptions, context: IContext, type: TSupportedStyle) => RuleSetUseItem[]; export declare const devServer: TWebpackConfFunction; export declare const publiPath: TWebpackConfFunction; export declare function getWPTarget(options: IOptions, context: IContext): webpack.Configuration["target"];