import { type CreateWorkspaceDescriptorInput, type RenameWorkspaceDescriptorInput, type ResolvedWorkspaceContext, type SetActiveWorkspaceInput, type WorkspaceCatalog, type WorkspaceRootConfig } from './types.js';
export declare class RuntimeWorkspaceService {
    static ensureCatalog(config: WorkspaceRootConfig): WorkspaceCatalog;
    static resolveContext(config: WorkspaceRootConfig): ResolvedWorkspaceContext;
    static setActive(input: SetActiveWorkspaceInput): ResolvedWorkspaceContext;
    static rename(input: RenameWorkspaceDescriptorInput): ResolvedWorkspaceContext;
    static createDescriptor(input: CreateWorkspaceDescriptorInput): ResolvedWorkspaceContext;
    static readCatalog(catalogPath: string, config: WorkspaceRootConfig): WorkspaceCatalog;
    private static saveResolvedCatalog;
    private static createDefaultCatalog;
    private static deriveDefaultWorkspaceName;
    private static normalizeCatalog;
    private static normalizeDescriptor;
    private static normalizeWorkspaceId;
    private static createWorkspaceId;
}
//# sourceMappingURL=service.d.ts.map