import { Tree } from '@nx/devkit';
/**
 * Updates a Vite config to support multiple entry points for Next.js libraries.
 * Transforms:
 * 1. entry: 'src/index.ts' -> entry: { index: 'src/index.ts', server: 'src/server.ts' }
 * 2. fileName: 'index' -> fileName: (format, entryName) => `${entryName}.js`
 *
 * Note: We know the shape of the vite config that is being generated, therefore string manipulation is fine
 *
 * @param tree - The file system tree
 * @param viteConfigPath - Path to the vite.config.ts file
 * @returns true if the config was updated, false otherwise
 */
export declare function updateViteConfigForServerEntry(tree: Tree, viteConfigPath: string): boolean;
//# sourceMappingURL=update-vite-config.d.ts.map