import { type ContinuumMaterialDefinition, type ContinuumMaterialTextureSet, type ContinuumMaterialVariant, type ContinuumPackage, type ContinuumPackageVersion } from '@hypersoniclabs/helix-manifest'; import type { CanonicalMaterialCatalogEntry } from './catalog'; export type CanonicalMaterialArtifactInput = { /** Optional archival/source maps; runtime variants below must be KTX2. */ sourceTextures?: ContinuumMaterialTextureSet; variants: ContinuumMaterialVariant[]; sourceFallback?: ContinuumMaterialDefinition['sourceFallback']; }; export type MaterialPackageRecipeInput = { entry: CanonicalMaterialCatalogEntry; /** Existing registry identity during migration; otherwise derived from the canonical catalog id. */ packageId?: string; version: string; artifacts: CanonicalMaterialArtifactInput; }; export type MaterialPackageRecipe = { package: ContinuumPackage; definition: ContinuumMaterialDefinition; packageVersion: ContinuumPackageVersion; definitionBytes: Uint8Array; definitionCid: string; packageVersionCid: string; }; /** * Deterministic publication intent. It emits no URLs and performs no upload; * the backend seals the exact objects and Package Version later. */ export declare function buildMaterialPackageRecipe(input: MaterialPackageRecipeInput): MaterialPackageRecipe; /** Same normalized input always produces the same ordered package/CID set. */ export declare function buildMaterialBulkRecipe(inputs: readonly MaterialPackageRecipeInput[]): MaterialPackageRecipe[];