import { WorkspacePackage } from '../../package-json/collect-package-jsons.js'; import { bc } from './_utils.js'; /** * build a single package using vite * * tiny wrapper on top of `vite build` */ export declare function buildPackage(params: { /** path to the workspace root */ workspaceRoot: string; /** * list of workspace packages **including root** */ workspace?: WorkspacePackage[]; /** name of the package to build */ packageName: string; /** path to the `build.config.js` file */ configPath?: string; /** "fixed" version to use when building the package */ fixedVersion?: string; }): Promise; export declare const buildPackageCli: bc.Command<{ config: string | undefined; root: string | undefined; packageName: string; fixedVersion: string | undefined; }, { config: string | undefined; root: string | undefined; packageName: string; fixedVersion: string | undefined; }>;