import { type RuleSetRule } from 'webpack'; import { type TransformOptions } from '@babel/core'; import { type EntryMapItem, type FlatEvolveOptions } from '../../types/index.js'; export declare const ruleBabel: (options: TransformOptions) => RuleSetRule; export declare const webpackRuleScripts: (serveMode: boolean, entryMapItem: EntryMapItem, evolveOptions: FlatEvolveOptions) => RuleSetRule;