/** * @athenna/vite * * (c) João Lenon * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import type { ConfigOptions } from '#src/types'; import type { ConfigEnv, Plugin, UserConfig } from 'vite'; /** * Resolve the `config.base` value */ export declare function resolveBase(config: UserConfig, options: Required, command: 'build' | 'serve'): string; /** * Vite config hook */ export declare function configHook(options: Required, userConfig: UserConfig, { command }: ConfigEnv): UserConfig; /** * Update the user vite config to match Athenna requirements. */ export declare const config: (options: Required) => Plugin;