import type { AstroConfig } from '../@types/astro-core';
import type { AstroDevServer } from './dev';
import type { LogOptions } from './logger';
import vite from './vite.js';
declare type ViteConfigWithSSR = vite.InlineConfig & {
    ssr?: {
        external?: string[];
        noExternal?: string[];
    };
};
/** Return a common starting point for all Vite actions */
export declare function createVite(viteConfig: ViteConfigWithSSR, { astroConfig, logging, devServer }: {
    astroConfig: AstroConfig;
    logging: LogOptions;
    devServer?: AstroDevServer;
}): Promise<ViteConfigWithSSR>;
export {};
