import type { Thickness } from '../../../contracts/material.js'; /** The 16 4.x optical props deleted in 5.0 (REQ-MAT-24; type errors on Surface). */ export declare const OPTICAL_NOOP: readonly ["caustics", "chromatic", "lighting", "ior", "tier", "depth", "tint", "glowIntensity", "glowColor", "optimization", "hardwareAcceleration", "intensity", "blur", "parallax", "magnet", "cursorHighlight"]; /** Adapter-local props with no 5.0 mapping (warnings keep the original names). */ export declare const EXTRA_NOOP: readonly ["rounded", "radius", "glow", "hover", "press", "animation", "performanceMode", "liftOnHover", "hoverLift", "hoverSheen", "focusRing", "disabled", "size", "enableMicroInteractions", "enableParallax", "enableReflection", "environmentAdaptation", "motionResponsive", "adaptToMotion", "adaptToContent", "contrastLevel", "performanceLevel", "quality", "showDebug", "onContrastAdjustment", "onBackdropAnalysis", "tintMode", "sheen", "enableTilt", "material", "morph", "samplingStrategy", "insideEffectGroup", "contrastPolicy", "asChild", "shape", "fallbackRadius", "active", "height", "targetRef", "observeScroll", "asContainer", "edgeClassName", "edgeStyle", "containerClassName", "containerStyle", "onOpenChange"]; /** One DEP-M id per compat adapter (fragments/deprecations/mat.ts, MAT-351/352 * rows DEP-M0805..DEP-M0815). */ export declare const ADAPTER_DEPRECATION_IDS: { readonly OptimizedGlass: "DEP-M0805"; readonly GlassAdvanced: "DEP-M0807"; readonly OptimizedGlassAdvanced: "DEP-M0808"; readonly LiquidGlassMaterial: "DEP-M0809"; readonly GlassCore: "DEP-M0810"; readonly GlassPrimitive: "DEP-M0811"; readonly LiquidGlassEffectGroup: "DEP-M0812"; readonly LiquidGlassScrollEdge: "DEP-M0813"; readonly LiquidGlassConcentricFrame: "DEP-M0814"; readonly LiquidGlassLayerProvider: "DEP-M0815"; }; export type CompatAdapter = keyof typeof ADAPTER_DEPRECATION_IDS; /** * Partition `rest` into the DOM props that still pass through and the dropped * props. When any prop drops, fires warnDeprecated with the adapter's DEP-M id * (once per id per session). Returns the surviving props object (mutated copy — * callers must not reuse `rest` afterwards). */ export declare function dropNoopProps(adapter: CompatAdapter, rest: Record, extraDropped?: string[]): Record; /** REQ-MAT-24: elevation 0|1 -> 'thin', 2 -> 'regular', 3+ -> 'thick'. * Accepts 4.x 'levelN' strings and bare numbers. */ export declare function elevationToThickness(elevation: string | number | undefined): Thickness | undefined; /** LiquidGlassMaterial `thickness` (0-8 px) -> the same 5.0 bands. */ export declare function thicknessNumberToThickness(thickness: number | undefined): Thickness | undefined; /** 4.x pixel spacing -> the 5.0 4pt-grid SpaceToken (nearest grid step). */ export declare const SPACE_TOKENS: readonly ["0", "1", "2", "3", "4", "5", "6", "8", "10", "12", "16"]; export declare function pxToSpaceToken(spacing: number | string | undefined): (typeof SPACE_TOKENS)[number] | undefined; //# sourceMappingURL=shared.d.ts.map