import type { Context } from '../context.js';
import type { BuildTarget } from './node/target.js';
/** Deployment target override and production-entry seam owned by Node CLI assembly. */
export interface BuildOptions {
    /** Explicit CLI target takes precedence over project config. */
    target?: BuildTarget;
    /** Real production entry must be supplied before Node output can be published. */
    nodeEntryFile?: string;
    /** Library caller owns lifecycle without Vite process signal handlers. */
    middlewareMode?: boolean;
}
/**
 * Builds collected browser assets and optionally packages a portable Node artifact.
 * Node publication waits for every plugin hook and runtime validation to finish.
 */
export declare function build(ctx: Context, options?: BuildOptions): Promise<void>;
//# sourceMappingURL=index.d.ts.map