export type ValidatedBuildTarget = { appDir: string; /** The package script to run, when one of the usual names exists. */ buildScript: string | null; }; /** * Validates a target for a *build* measurement. * * Deliberately weaker than `validateTarget`: this command measures the build * itself, so demanding `.next` or a standalone bundle would reject exactly the * projects it exists to help — a build that OOMs never produces either. */ export declare function validateBuildTarget(appDir: string): Promise;