export type Condition = string | RegExp | Array | ((arg: any) => boolean) | { test?: Condition; include?: Condition; exclude?: Condition; and?: Array; or?: Array; not?: Array; }; export type LoaderRule = { include?: Condition; exclude?: Condition; }; export type OverrideWebpackConfigParams = { webpackConfig: any; pluginOptions: { includes?: LoaderRule[]; excludes?: LoaderRule[]; }; }; export declare const overrideWebpackConfig: ({ webpackConfig, pluginOptions: { includes, excludes }, }: OverrideWebpackConfigParams) => any;