import { type RunAddVariationCommandOptions } from './cli-add-shared.js'; /** * Add one variation entry to an existing workspace block. * * @param options Command options for the variation scaffold workflow. * @param options.blockName Target workspace block slug that will own the variation. * @param options.cwd Working directory used to resolve the nearest official workspace. * Defaults to `process.cwd()`. * @param options.variationName Human-entered variation name that will be normalized * and validated before files are written. * @returns A promise that resolves with the normalized `blockSlug`, * `variationSlug`, and owning `projectDir` after the variation files and * inventory entry have been written successfully. * @throws {Error} When the command is run outside an official workspace, when * the target block is unknown, when the variation slug is invalid, or when a * conflicting file or inventory entry already exists. */ export declare function runAddVariationCommand({ blockName, cwd, variationName }: RunAddVariationCommandOptions): Promise<{ blockSlug: string; projectDir: string; variationSlug: string; }>;