import { type ContinuumCid, type ContinuumPackage, type ContinuumPackageType, type ContinuumPackageVersion, type ContinuumPackageVersionReference, type ContinuumSceneDocument } from '@hypersoniclabs/helix-manifest'; import type { ContinuumObjectPublication, ContinuumObjectSource, ContinuumPublicationIntent, ContinuumPublicationReceipt } from '../continuum/types'; import { type CanonicalMaterialCatalogEntry } from '../sceneImport/materials/catalog'; import { type CanonicalMaterialArtifactInput } from '../sceneImport/materials/recipe'; export declare const CONTINUUM_CANARY_SCHEMA: "helix.creator.continuum-canary-plan/1"; export declare const CONTINUUM_CANARY_VERSION: "1.0.0"; export declare const CONTINUUM_CANARY_PROFILE_ID: "web-balanced-scene2"; export type CanaryMaterialInput = { entry: CanonicalMaterialCatalogEntry; artifacts: CanonicalMaterialArtifactInput; /** Sources for texture/source-fallback CIDs. The material-definition root is always canonical inline JSON. */ objectSources: Readonly>; }; export type CanaryAssetInput = { key: string; name: string; type: Extract; /** Functional definition root. Vehicle/add-on roots must not be mesh-only. */ root: ContinuumObjectPublication; /** Exact owned closure, including the root and all rendition/definition objects. */ objects: ContinuumObjectPublication[]; variants?: ContinuumPackageVersion['variants']; provides: string[]; requires?: string[]; provenance: ContinuumPackageVersion['provenance']; /** Existing item to receive the exact Package pin. The recipe never invents database Items. */ universalItemId: string; }; export declare const PACIFICA_SOURCE_DOCUMENT_KEYS: readonly ["shell", "level-0", "level-1", "exterior", "sd", "interior-f0-a-a", "interior-f0-a-b", "interior-f0-b-a", "interior-f0-b-b", "interior-f1-y0-a", "interior-f1-y0-b", "interior-f1-y1-a", "interior-f1-y1-b", "interior-f2"]; export type PacificaSourceDocumentKey = (typeof PACIFICA_SOURCE_DOCUMENT_KEYS)[number]; export type PacificaSemanticSceneInput = { kind?: 'semantic'; /** Native semantic authoring output. Retained geometry appears as explicit asset elements, never old Scene JSON fallback. */ document: ContinuumSceneDocument; objects: ContinuumObjectPublication[]; }; export type PacificaHybridSceneInput = { /** A retained Scene v2 leaf is a real child Scene Package, never a GLB sourceFallback. */ kind: 'scene-v2-package'; package: ContinuumPackage; packageVersion: ContinuumPackageVersion; objects: ContinuumObjectPublication[]; }; export type PacificaSceneInput = PacificaSemanticSceneInput | PacificaHybridSceneInput; export type PacificaSourceInput = { root: PacificaSemanticSceneInput; /** Exactly fourteen authoritative children; root + children = the 15-document hierarchy. */ documents: Record; }; export type ContinuumCanaryInput = { projectId: string; sourceDigest: string; worldId: string; releaseId: string; /** Listings stay unlisted unless a CLI invocation explicitly confirms public publication. */ listingVisibility?: 'unlisted' | 'public'; materials: CanaryMaterialInput[]; vehicle: { base: CanaryAssetInput; tomei: CanaryAssetInput; g25: CanaryAssetInput; }; character: { base: CanaryAssetInput; head: CanaryAssetInput; top: CanaryAssetInput; bottom: CanaryAssetInput; footwear: CanaryAssetInput; hair: CanaryAssetInput; }; buildUniversalItemIds: { vehicleStock: string; vehicleStreet: string; characterBase: string; characterStreet: string; }; pacifica: PacificaSourceInput; }; export type ContinuumCanaryDryRunReceipt = { schema: 'helix.creator.continuum-canary-dry-run/1'; status: 'ready'; planCid: ContinuumCid; publicationCount: number; packageManifestCids: Record; packageOrder: string[]; universalItemPins: Array<{ itemId: string; package: ContinuumPackageVersionReference; promoteToPublished?: true; }>; listingIds: string[]; pacificaMaterialBindings: string[]; readySets: Array<{ phase: 'beforeSpawn' | 'firstFrame' | 'warm'; cids: ContinuumCid[]; }>; }; export type ContinuumCanaryPlan = { schema: typeof CONTINUUM_CANARY_SCHEMA; publications: ContinuumPublicationIntent[]; dryRun: ContinuumCanaryDryRunReceipt; }; export interface CanaryPublicationExecutor { publish(input: ContinuumPublicationIntent): Promise; } export declare class ContinuumCanaryOrchestrator { private readonly publisher; constructor(publisher: CanaryPublicationExecutor); dryRun(input: ContinuumCanaryInput): ContinuumCanaryPlan; /** Deliberately serial: every dependency is sealed before its consumer is created. */ publish(plan: ContinuumCanaryPlan): Promise; } export declare function composeContinuumCanary(input: ContinuumCanaryInput): ContinuumCanaryPlan; export declare function requiredCanaryMaterialCatalog(): CanonicalMaterialCatalogEntry[]; export declare function continuumCanaryPackageId(key: string): string;