import { SaltyCompilerMode } from '../../core/dist/compiler/salty-compiler'; import { BundlerOption } from './detect-bundler'; type AnyRecord = Record; export type { Bundler, BundlerOption } from './detect-bundler'; export interface SaltyNextOptions { /** * Explicit build mode. Defaults to NODE_ENV-based detection. */ mode?: SaltyCompilerMode; /** * Force a specific bundler integration. Defaults to 'auto', which picks * turbopack when `process.env.TURBOPACK === '1'` (set by `next dev --turbopack`) * and webpack otherwise. */ bundler?: BundlerOption; /** * Project root directory used by the Turbopack runtime (the webpack path * receives `dir` from Next.js itself). Defaults to `nextConfig.turbopack.root` * or `process.cwd()`. */ dir?: string; } export declare const withSaltyCss: (nextConfig: T, options?: SaltyNextOptions) => (T & { turbopack: { rules: any; }; }) | (Omit & { webpack(config: any, webpackOptions: any): any; }); export default withSaltyCss; //# sourceMappingURL=index.d.ts.map