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