import { PluginOption, ServerOptions } from "vite"; //#region src/types.d.ts type HttpsOption = ServerOptions['https']; interface ResolvedConfig { additionalEntrypoints: string[]; assetHost: string; assetsDir: string; configPath: string; publicDir: string; mode: string; entrypointsDir: string; sourceCodeDir: string; host: string; https: HttpsOption; port: number; publicOutputDir: string; watchAdditionalPaths: string[]; base: string; skipProxy: boolean; /** * @private * In the context of the internal code, whether an SSR build should be performed. */ server: ServerOptions; /** * @private * In the context of the internal code, whether an SSR build should be performed. */ ssrBuild: boolean; /** * A file glob specifying a pattern that matches the SSR entrypoint to build. */ ssrEntrypoint: string; /** * Specify the output directory for the SSR build (relative to the project root). */ ssrOutputDir: string; } type Config = Partial; interface PluginOptions { root: string; outDir: string; base: string; } type Entrypoints = Array<[string, string]>; type UnifiedConfig = ResolvedConfig & PluginOptions & { entrypoints: Entrypoints; }; type MultiEnvConfig = Record; //#endregion //#region src/index.d.ts interface PreRenderedAsset { type: 'asset'; name?: string; names?: string[]; originalFileName?: string; originalFileNames?: string[]; source: string | Uint8Array; } declare const projectRoot: string; declare function ViteRubyPlugin(): PluginOption[]; //#endregion export { Config, Entrypoints, HttpsOption, MultiEnvConfig, PluginOptions, PreRenderedAsset, ResolvedConfig, UnifiedConfig, ViteRubyPlugin as default, projectRoot }; //# sourceMappingURL=index.d.mts.map