import type { WorkspaceInventoryUpdateOptions } from './workspace-inventory-types.js'; /** * Update `scripts/block-config.ts` source text with additional inventory entries. * * Missing inventory sections for variations, patterns, binding sources, REST * resources, workflow abilities, AI features, editor plugins, block styles, and * block transforms are created * automatically before new entries are appended at their marker comments. * When provided, `transformSource` runs before any entries are inserted. * * @param source Existing `scripts/block-config.ts` source. * @param options Entry lists plus an optional source transformer. * @returns Updated source text with all requested inventory entries appended. */ export declare function updateWorkspaceInventorySource(source: string, options?: WorkspaceInventoryUpdateOptions): string; /** * Append new entries to the canonical workspace inventory file on disk. * * @param projectDir Workspace root directory. * @param options Entry lists and optional source transform passed through to * `updateWorkspaceInventorySource`. * @returns Resolves once `scripts/block-config.ts` has been updated if needed. */ export declare function appendWorkspaceInventoryEntries(projectDir: string, options: Parameters[1]): Promise;