export interface MotionGlareUniforms { badgeGlareProgress: { value: number; }; badgeGlareOpacity: { value: number; }; } export declare const MOTION_GLARE: { readonly opacity: 0.38; }; interface Orientation { x: number; y: number; z: number; w: number; } /** A fixed world-space light/view half-vector projected into the card frame. * Identical poses have identical highlights, even at rest or after reversal. * This is a stylized strip reflection, not an animated sweep or full ray trace. * Shares the existing frame; a visible highlight never keeps RAF awake. */ export declare function createMotionGlare(): { uniforms: MotionGlareUniforms; clear: () => void; update(q: Orientation, reduced: boolean): void; }; /** Same -45deg / 250% / 60-70-85% CSS gradient in card-local coordinates. * Rendered inside the existing rounded face, not a new rectangular overlay. */ export declare const MOTION_GLARE_FRAGMENT = "\n #ifdef USE_MAP\n vec2 glareUv = (vec2(vMapUv.x, 1.0 - vMapUv.y)\n - vec2(mix(1.5, -1.5, badgeGlareProgress))) / 2.5;\n float glareInside = step(0.0, glareUv.x) * step(glareUv.x, 1.0)\n * step(0.0, glareUv.y) * step(glareUv.y, 1.0);\n float glareStop = 1.0 - dot(glareUv, vec2(1.42, 1.96)) / 3.38;\n float glareBand = clamp((glareStop - 0.60) / 0.10, 0.0, 1.0)\n * clamp((0.85 - glareStop) / 0.15, 0.0, 1.0);\n float glareAlpha = glareInside * glareBand * clamp(badgeGlareOpacity, 0.0, 0.5);\n gl_FragColor.rgb = mix(badgeImage, vec3(1.0), glareAlpha);\n #endif\n"; export {}; //# sourceMappingURL=motion-glare.d.ts.map