import { type RunAddCoreVariationCommandOptions } from './cli-add-shared.js'; /** * Add one editor-side variation registration for an existing core or external block. * * @param options Command options for the core-variation scaffold workflow. * @param options.cwd Working directory used to resolve the nearest official workspace. * Defaults to `process.cwd()`. * @param options.targetBlockName Full `namespace/block` name that receives the variation. * @param options.variationName Human-entered variation name normalized into the generated slug. * @returns The normalized variation metadata, owning workspace directory, and * optional warnings for suspicious but forward-compatible targets. * @throws {Error} When the command is run outside an official workspace, the * target block name is not full `namespace/block` form, or the generated file * already exists. */ export declare function runAddCoreVariationCommand({ cwd, targetBlockName, targetBlockNameDiagnostics, variationName }: RunAddCoreVariationCommandOptions): Promise<{ projectDir: string; targetBlockName: string; variationFile: string; variationSlug: string; warnings?: string[]; }>;