import type { EsbuildPlugin } from '../../utils/config/cli-options';
/**
 * Extracts esbuild-compatible plugins from the user's plugin list.
 *
 * Users may mix Vite and esbuild plugins in `build.ui.plugins`.
 * This function filters to keep only esbuild plugins (those with a `setup` function)
 * and logs a warning for any Vite plugins that were excluded.
 */
export declare function getEsbuildPlugins(userPlugins: unknown[] | undefined): EsbuildPlugin[];
/**
 * Extracts Vite-compatible plugins from the user's plugin list.
 *
 * Users may mix Vite and esbuild plugins in `build.ui.plugins`.
 * This function filters out esbuild plugins (those with a `setup` function)
 * and logs a warning for any esbuild plugins that were excluded.
 */
export declare function getVitePlugins(userPlugins: unknown[] | undefined): unknown[];
/**
 * Checks whether any of the provided plugins is a Vanilla Extract plugin.
 * Detection is based on the plugin name containing "vanilla-extract".
 *
 * When Vanilla Extract plugins are present, CSS code splitting must be disabled
 * to preserve the correct CSS application order.
 */
export declare function hasVanillaExtractPlugin(plugins: unknown[]): boolean;
