import type { WebpackChainRule, BundlerChainRule, NormalizedConfig, Context } from '../types';
export declare function applyScriptCondition({
  rule,
  config,
  context,
  includes,
  excludes
}: {
  rule: BundlerChainRule | WebpackChainRule;
  config: NormalizedConfig;
  context: Context;
  includes: (string | RegExp)[];
  excludes: (string | RegExp)[];
}): void;