import { Plugin, PluginsExecutor } from './plugins-executor'; import * as esbuild from 'esbuild'; export declare function getEntries(pluginsExecutor: PluginsExecutor, config: Config): Promise; export declare type Platform = 'node' | 'browser'; export declare function normalizeConfig(config: Config): Config; export interface Config { server?: ServerConfig; define?: Record; prebundle?: PrebundlingConfig; build?: BuildConfig; printStats?: boolean; platform?: Platform; root?: string; entries?: string[]; plugins?: Plugin[]; loader?: Record; jsx?: 'vue' | 'preact' | 'react' | { factory?: string; fragment?: string; }; } export interface PrebundlingConfig { force?: boolean; includeWorkspacePackages?: string[] | boolean; } export interface ServerConfig { experimentalImmutableCache?: boolean; openBrowser?: boolean; cors?: boolean; port?: number | string; hmr?: HmrConfig | boolean; } export declare const defaultConfig: Config; export declare function loadConfig(from: string, name?: string): Config; export interface HmrConfig { protocol?: string; hostname?: string; port?: number; path?: string; /** * If you are using hmr ws proxy, it maybe timeout with your proxy program. * You can set this option to let client send ping socket to keep connection alive. * The option use `millisecond` as unit. * @default 30000ms */ timeout?: number; } export interface BuildConfig { basePath?: string; outDir?: string; minify?: boolean; jsTarget?: string; } //# sourceMappingURL=config.d.ts.map