import { type RunAddEditorPluginCommandOptions } from './cli-add-shared.js'; export { ensureEditorPluginBootstrapAnchors, ensureEditorPluginBuildScriptAnchors, ensureEditorPluginWebpackAnchors, resolveEditorPluginRegistryPath, writeEditorPluginRegistry, } from './cli-add-workspace-editor-plugin-anchors.js'; /** * Add one document-level editor plugin scaffold to an official workspace project. * * @param options Command options for the editor-plugin scaffold workflow. * @param options.cwd Working directory used to resolve the nearest official workspace. * Defaults to `process.cwd()`. * @param options.editorPluginName Human-entered editor-plugin name that will be * normalized and validated before files are written. * @param options.slot Optional editor plugin shell slot. Defaults to `sidebar`. * @returns A promise that resolves with the normalized `editorPluginSlug`, chosen * `slot`, and owning `projectDir` after the scaffold files and inventory entry * are written successfully. * @throws {Error} When the command is run outside an official workspace, when the * slug or slot is invalid, or when a conflicting file or inventory entry exists. */ export declare function runAddEditorPluginCommand({ cwd, editorPluginName, slot }: RunAddEditorPluginCommandOptions): Promise<{ editorPluginSlug: string; projectDir: string; slot: string; }>;