export type ScaffoldFeatureOptions = { /** camelCase feature name. Must be a valid JS identifier. */ readonly name: string; /** * Absolute or repo-relative path where the feature workspace gets * created. Defaults to `samples/recipes//` under the * resolved repo root. */ readonly destination?: string; /** Repo root used to resolve the default destination. Defaults to cwd. */ readonly repoRoot?: string; }; export type ScaffoldFeatureResult = { readonly destination: string; readonly featureFile: string; readonly packageJsonFile: string; readonly tsconfigFile: string; readonly featureName: string; readonly packageName: string; }; /** * Generate a starter feature workspace at `destination`. Throws when * the destination already exists — refuses to overwrite. The caller is * expected to run `bun install` afterwards to wire the workspace. */ export declare function scaffoldFeature(options: ScaffoldFeatureOptions): ScaffoldFeatureResult;