/** * List every file emitted under a scaffold project using POSIX-style paths. * * @param rootDir Root project directory to scan recursively. * @returns Sorted relative file paths suitable for dry-run preview output. */ export declare function listRelativeProjectFiles(rootDir: string): Promise; /** * Ensure a dry-run target would be legal before rendering into a temp preview. * * @param projectDir Real target project directory requested by the user. * @param allowExistingDir Whether existing target directories are allowed. * @throws Error when the target exists, is non-empty, and is not allowed. */ export declare function assertDryRunTargetDirectoryReady(projectDir: string, allowExistingDir: boolean): Promise; /** * Read script names from the package manifest emitted by a scaffold run. * * @param projectDir Generated project directory containing package.json. * @returns Script names, or undefined when the manifest is absent or invalid. */ export declare function readGeneratedPackageScripts(projectDir: string): Promise;