import { type AddBlockTemplateId, type RunAddBlockCommandOptions } from './cli-add-shared.js'; /** * Seeds an empty official workspace migration project before any blocks are added. * * @param projectDir Absolute path to the workspace root that will own the * migration config and generated scaffold files. * @param currentMigrationVersion Initial migration label to record as the * current version in the seeded workspace. */ export declare function seedWorkspaceMigrationProject(projectDir: string, currentMigrationVersion: string): Promise; /** * Adds one built-in block slice to an official workspace project. * * @param options Command options for the built-in workspace block scaffold flow. * @param options.blockName Human-entered block name that will be normalized * into the generated workspace block slug. * @param options.cwd Working directory used to resolve the nearest official * workspace. Defaults to `process.cwd()`. * @param options.dataStorageMode Optional storage mode for persistence-capable * templates. * @param options.innerBlocksPreset Optional compound-only InnerBlocks preset * (`freeform`, `ordered`, `horizontal`, or `locked-structure`) that controls * the generated authoring defaults for nested compound containers. * @param options.persistencePolicy Optional persistence policy for * persistence-capable templates. * @param options.templateId Built-in block family to scaffold. Defaults to * `"basic"`. * @returns A promise that resolves with the created block slugs, the owning * project directory, and the resolved template id after workspace mutation * succeeds. * @throws {Error} When the template id is unknown, persistence flags are used * with unsupported templates, the command runs outside an official workspace, * workspace dependencies have not been installed yet, or target block paths * already exist. */ export declare function runAddBlockCommand({ alternateRenderTargets, blockName, cwd, dataStorageMode, externalLayerId, externalLayerSource, innerBlocksPreset, persistencePolicy, selectExternalLayerId, templateId }: RunAddBlockCommandOptions): Promise<{ blockSlugs: string[]; projectDir: string; templateId: AddBlockTemplateId; warnings: string[]; }>;