import type { TransformOptions } from '@babel/core'; import type { RegisterHookOptions } from './common.js'; export interface Flags { /** * Will change the alias for module-resolver plugin and include a few extra * babel plugins */ forJest?: boolean; /** changes what babel-plugin-redwood-routes-auto-loader does */ forPrerender?: boolean; /** * will enable presets to supporting linting in the absence of typescript * related presets/plugins/parsers */ forJavaScriptLinting?: boolean; /** * skip src/ alias and directory-named-import handling. The Vite * `cedarjs-resolve-cedar-style-imports` plugin covers these */ forVite?: boolean; } export declare const getWebSideBabelPlugins: ({ forJest, forVite }?: Flags) => TransformOptions[]; export declare const getWebSideOverrides: ({ forPrerender, forVite }?: Flags) => TransformOptions[]; export declare const getWebSideBabelPresets: (options: Flags) => ((string | undefined)[] | (string | object)[])[]; export declare const getWebSideBabelConfigPath: () => string | undefined; export declare const getWebSideDefaultBabelConfig: (options?: Flags) => { presets: ((string | undefined)[] | (string | object)[])[]; plugins: TransformOptions[]; overrides: TransformOptions[]; extends: string | undefined; babelrc: boolean; ignore: string[]; }; export declare const registerWebSideBabelHook: ({ plugins, overrides, options, }?: RegisterHookOptions) => void; //# sourceMappingURL=web.d.ts.map