import type { SSROptions } from "vite";
/**
 * Merges `clientPackages` into the SSR-side `noExternal` list, preserving
 * whatever shape the user already supplied (`undefined` | `true` | string |
 * RegExp | array of those). The caller decides which `resolve.noExternal`
 * sites to apply this to.
 */
export declare const mergeClientPackagesNoExternal: (clientPackages: readonly string[], existing: NonNullable<SSROptions["noExternal"]> | undefined) => NonNullable<SSROptions["noExternal"]>;
/**
 * Merges `clientPackages` into `optimizeDeps.exclude` so esbuild's pre-bundle
 * doesn't strip the per-file `"use client"` directives before the RSC
 * transform sees them.
 */
export declare const mergeClientPackagesOptimizeDepsExclude: (clientPackages: readonly string[], existing: readonly string[] | undefined) => string[];
//# sourceMappingURL=applyConfig.d.ts.map