/** * Builds the project and returns the output directory and CLI path. * - If already built (distDir and cliPath are set), return them. * - Otherwise, create a temporary directory for the build output. * - Run the TypeScript compiler (tsc) to compile the project into the temporary directory. * - Set the cliPath to point to the compiled CLI script within the build output directory. * @returns The build output directory and CLI path. */ export declare function buildOnce(): { distDir: string; cliPath: string; }; /** * Runs the CLI with the given arguments in the specified working directory. * @params cwd - The current working directory to run the CLI in. * @params args - The arguments to pass to the CLI. * @returns The result of the CLI execution. */ export declare function runCli(cwd: string, args: string[]): import("node:child_process").SpawnSyncReturns; /** * Cleans up the build output directory. * - If the distDir is set, remove it and all its contents. * - Reset distDir and cliPath to null. * @returns void */ export declare function cleanupBuild(): void; //# sourceMappingURL=cli-helpers.d.ts.map