import type { WorkspaceProject } from '../workspace/workspace-project.js'; /** * Ensures the workspace bootstrap enqueues the shared editor plugin bundle. * * @param workspace Official workspace metadata used to locate and patch the bootstrap file. * @returns A promise that resolves after the bootstrap anchors are present. */ export declare function ensureEditorPluginBootstrapAnchors(workspace: WorkspaceProject): Promise; /** * Ensures the workspace build script includes the shared editor plugin entry. * * @param workspace Official workspace metadata used to locate the build script. * @returns A promise that resolves after the build script anchors are present. */ export declare function ensureEditorPluginBuildScriptAnchors(workspace: WorkspaceProject): Promise; /** * Ensures the workspace webpack config builds the shared editor plugin entry. * * @param workspace Official workspace metadata used to locate the webpack config. * @returns A promise that resolves after the webpack anchors are present. */ export declare function ensureEditorPluginWebpackAnchors(workspace: WorkspaceProject): Promise; /** * Resolves the editor plugin registry path, preferring existing TypeScript or JavaScript registries. * * @param projectDir Workspace root directory to inspect. * @returns A promise for the registry path to read or write. */ export declare function resolveEditorPluginRegistryPath(projectDir: string): Promise; /** * Rewrites the shared editor plugin registry with the requested plugin slug included. * * @param projectDir Workspace root directory that owns `src/editor-plugins`. * @param editorPluginSlug Editor plugin slug that must be imported by the registry. * @returns A promise that resolves after the registry has been written. */ export declare function writeEditorPluginRegistry(projectDir: string, editorPluginSlug: string): Promise;