import type { CanonicalMaterialCatalogEntry } from './catalog'; export declare const MATERIAL_AUTO_REPLACE_CONFIDENCE = 0.78; export declare const MATERIAL_REVIEW_CONFIDENCE = 0.58; export type SourceMaterialDescription = { semanticName: string; baseColor?: `#${string}`; roughness?: number; metalness?: number; opacityMode?: 'opaque' | 'mask' | 'blend'; maps: Array<'baseColor' | 'normal' | 'metallicRoughness' | 'occlusion' | 'emissive'>; shaderGraph: 'portable-pbr' | 'procedural' | 'layered' | 'unknown'; }; export type MaterialMatchAlternative = { materialId: string; score: number; signals: { semantic: number; color: number; roughness: number; metalness: number; opacity: number; maps: number; }; }; export type MaterialMatch = { action: 'use-canonical' | 'review' | 'preserve-source'; confidence: number; material?: CanonicalMaterialCatalogEntry; alternatives: MaterialMatchAlternative[]; preserveSourceRendition: boolean; reason: string; }; export declare function matchCanonicalMaterial(source: SourceMaterialDescription, catalog: readonly CanonicalMaterialCatalogEntry[]): MaterialMatch;