import type { WorkspaceProject } from '../workspace/workspace-project.js'; /** * Ensure the workspace bootstrap loads binding-source PHP and editor bundles. * * @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 ensureBindingSourceBootstrapAnchors(workspace: WorkspaceProject): Promise; /** * Resolve the binding-source editor 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 resolveBindingSourceRegistryPath(projectDir: string): Promise; /** * Rewrite the binding-source editor registry with the requested source slug included. * * @param projectDir Workspace root directory that owns `src/bindings`. * @param bindingSourceSlug Binding source slug that must be imported by the registry. * @returns A promise that resolves after the registry has been written. */ export declare function writeBindingSourceRegistry(projectDir: string, bindingSourceSlug: string): Promise;