import { type BuildSettings } from "./build-settings.ts";
import type { BuildArtifact, BuildStrategy } from "./build-strategy.ts";
import type { BuildCommandIo } from "./workspace.ts";
/**
 * Build strategy for Next.js applications. Runs the resolved build command
 * (the user's `package.json` build script, or `next build`), then stages the
 * `output: "standalone"` tree — materializing workspace symlinks and hoisting
 * isolated-store dependencies. Apps built without standalone output fall back
 * to packaging the full tree and serving with `next start`, unless
 * `requireStandalone` is set (a disk-limited deploy target opts out of that).
 */
export declare class NextjsBuild implements BuildStrategy {
    #private;
    constructor(options: {
        appPath: string;
        buildSettings?: BuildSettings;
        io?: BuildCommandIo;
        /** Fail instead of falling back to the full-tree `next start` artifact. */
        requireStandalone?: boolean;
    });
    canBuild(signal?: AbortSignal): Promise<boolean>;
    execute(signal?: AbortSignal): Promise<BuildArtifact>;
}
//# sourceMappingURL=nextjs-build.d.ts.map