import type { BuildOptions } from '../types';
import { type InitConfigsOptions } from './initConfigs';
export declare const build: (initOptions: InitConfigsOptions, { mode, watch, compiler: customCompiler }?: BuildOptions) => Promise<void | {
    close: () => Promise<void>;
}>;
