import type { ConfigEnv, Plugin, UserConfig } from 'vite';
import type { PluginFullOptions } from './types.js';
/**
 * Resolve the `config.base` value
 */
export declare function resolveBase(config: UserConfig, options: PluginFullOptions, command: 'build' | 'serve'): string;
/**
 * Vite config hook
 */
export declare function configHook(options: PluginFullOptions, userConfig: UserConfig, { command }: ConfigEnv): UserConfig;
/**
 * Update the user vite config to match the Adonis requirements
 */
export declare const config: (options: PluginFullOptions) => Plugin;
