import { type InlineConfig, type ViteDevServer } from 'vite'; import type { ElectronOptions } from '.'; /** Resolve the default Vite's `InlineConfig` for build Electron-Main */ export declare function resolveViteConfig(options: ElectronOptions): InlineConfig; export declare function withExternalBuiltins(config: InlineConfig): InlineConfig; /** * @see https://github.com/vitejs/vite/blob/v4.0.1/packages/vite/src/node/constants.ts#L137-L147 */ export declare function resolveHostname(hostname: string): string; export declare function resolveServerUrl(server: ViteDevServer): string | void; export declare function calcEntryCount(optionsArray: ElectronOptions[]): number;