/** * @module cosmos-commands * * High-level orchestration commands for managing Cosmos members. * Unifies galaxy creation and registration across Web and CLI environments. */ import { SpaceQualifiedIbGibAddr } from '../../common/other/ibgib-types.mjs'; import { MetaspaceService } from '../../witness/space/metaspace/metaspace-types.mjs'; import { IbGibSpaceAny } from '../../witness/space/space-base-v1.mjs'; import { KeystoneIbGib_V1 } from '../../keystone/keystone-types.mjs'; import { GalaxyPresetType } from '../galaxy/galaxy-configs.mjs'; import { GalaxyPolicy } from '../galaxy/galaxy-types.mjs'; import { B2tFSGalaxyIbGib_V1 } from '../branching/b2tfs-galaxy/b2tfs-galaxy-types.mjs'; import { VcsInitResult } from '../branching/commands/command-types.mjs'; import { CosmosIbGib_V1, GalaxySliceConfig } from './cosmos-types.mjs'; export interface CreateGalaxyInCosmosOpts { metaspace: MetaspaceService; space: IbGibSpaceAny; cosmosIbGib: CosmosIbGib_V1; galaxyName: string; discriminator?: GalaxyPresetType; branchName?: string; rootFolderName?: string; policy?: GalaxyPolicy; primaryIdentityTjpAddr?: string; deviceDelegate?: { delegateKeystone: KeystoneIbGib_V1; delegateSecret: string; }; slice?: GalaxySliceConfig; icon?: string; label?: string; } export interface CreateGalaxyInCosmosResult { cosmosIbGib: CosmosIbGib_V1; galaxyIbGib: B2tFSGalaxyIbGib_V1; sqGalaxyAddr: SpaceQualifiedIbGibAddr; initRes: VcsInitResult; } /** * Creates and initializes a new member galaxy inside a containing Cosmos, * bootstrapping its branch space, initial root folder, default branch, genesis snapshot, * and registering its soft-link address and metadata entry in the Cosmos manifest. */ export declare function executeCreateGalaxyInCosmos({ metaspace, space, cosmosIbGib, galaxyName, discriminator, branchName, rootFolderName, policy, primaryIdentityTjpAddr, deviceDelegate, slice, icon, label, }: CreateGalaxyInCosmosOpts): Promise; //# sourceMappingURL=cosmos-commands.d.mts.map