/**
 * Vite tool resolver for the vite-plus CLI.
 *
 * This module exports a function that resolves the Vite binary path
 * using Node.js module resolution. The resolved path is passed back
 * to the Rust core, which then executes Vite with the appropriate
 * command and arguments.
 *
 * Used for: `vite-plus build` and potentially `vite-plus dev` commands
 */
/**
 * Resolves the Vite binary path and environment variables.
 *
 * @returns Promise containing:
 *   - binPath: Absolute path to the Vite CLI entry point (vite.js)
 *   - envs: Environment variables to set when executing Vite
 *
 * The function first tries to resolve vite package, then falls back
 * to rolldown-vite package (for direct rolldown-vite installations).
 * It constructs the path to the CLI binary within the resolved package.
 */
export declare function vite(): Promise<{
    binPath: string;
    envs: Record<string, string>;
}>;
