import { Plugin } from 'vite'; import { IBuildEntrypoint } from "../services/build.js"; interface IPluginOptions { entrypoint: IBuildEntrypoint; } /** * Get current entrypoint name */ declare const getCurrentEntrypointName: () => string | undefined; /** * Set current entrypoint name */ declare const setCurrentEntrypointName: (name: string) => void; /** * Find current entrypoint by env */ declare const getCurrentEntrypoint: (entrypoint: IBuildEntrypoint[], currentEntrypointName?: string | undefined) => IBuildEntrypoint | null; /** * Return custom entrypoint instead default (index.html). * * E.g. for build multiple entrypoint * @constructor */ declare function ViteHandleCustomEntrypointPlugin(options: IPluginOptions): Plugin; export { IPluginOptions, ViteHandleCustomEntrypointPlugin, getCurrentEntrypoint, getCurrentEntrypointName, setCurrentEntrypointName };