import type { ResolvedConfig } from 'vite'; import type { SerializableViteConfig } from '../types/vite-configs.ts'; export declare function findViteConfigJson(appRoot: string, folderNames?: string[]): string | null; /** Options for resolveDevViteConfig */ export interface ResolveDevViteConfigOptions { spa?: boolean; } /** Options for resolveProdViteConfig */ export interface ResolveProdViteConfigOptions { distDir?: string; } /** * Resolves Vite configuration for development mode. * Reads the live vite.config file and resolves it via Vite's API. * * @throws Error if no Vite config file is found */ export declare function resolveDevViteConfig(root: string): Promise; /** * Resolves Vite configuration for production mode. * Reads the cached vite.config.json from the dist folder. * * @throws Error if cached config file is not found */ export declare function resolveProdViteConfig(root: string, { distDir }?: ResolveProdViteConfigOptions): Promise; //# sourceMappingURL=vite-config.d.ts.map