import * as vite from "vite"; import { WatcherOptions } from "rollup"; import { ResolvedEmbeddableConfig } from "@embeddable.com/sdk-core"; import { LogLevel } from "vite"; export declare const EMB_FILE_REGEX: RegExp; declare const _default: (ctx: ResolvedEmbeddableConfig) => Promise; export default _default; export declare function getViteConfig(ctx: ResolvedEmbeddableConfig, watch: WatcherOptions | null, plugins: any[]): { logLevel: LogLevel; resolve: { alias?: Record; extensions: string[]; }; plugins: any[]; build: { sourcemap: boolean | "inline"; watch: { include: string[]; exclude: string[]; } | undefined; minify: boolean; rollupOptions: vite.Rollup.RollupOptions; lib: { entry: string; formats: vite.LibraryFormats[]; fileName: string; }; outDir: string; }; define: { "process.env.NODE_ENV": string; }; }; export declare function runViteBuild(ctx: ResolvedEmbeddableConfig, watch?: WatcherOptions | null): Promise;