import { type FileSystem } from "../../../src/platform/index.js"; export interface CreatePackageJsonOptions { /** Template-owned dependencies that must be installed for generated apps. */ dependencies?: Record; /** Template-owned first-party extension packages aligned to the Veryfront version. */ firstPartyExtensions?: readonly string[]; /** * Selected integrations whose `connector.json#npmDependencies` should be * merged into the generated project's `package.json#dependencies`. * First declaration wins on version collisions; framework pins * (react, react-dom, veryfront) always take precedence. */ integrations?: Array<{ name: string; npmDependencies?: Record; }>; } /** * Render the scaffold's `package.json`. * * Pure so that both the disk-writing CLI path and * {@link ../../shared/project-creation.ts | materializeScaffold} emit the same * bytes for the same template — the parity the CLI and Studio scaffolds are * required to hold. */ export declare function buildPackageJson(projectName: string, options?: CreatePackageJsonOptions & { existingDependencies?: Record; }): string; /** Default project name when neither a name nor a directory name is available. */ export declare const FALLBACK_PROJECT_NAME = "veryfront-project"; export declare function createPackageJson(projectDir: string, projectName?: string, options?: CreatePackageJsonOptions, fs?: FileSystem): Promise; export declare function createTypeScriptConfig(projectDir: string): Promise; //# sourceMappingURL=config-generator.d.ts.map