/** Per-badge background-position for shell gradient ring sampling. */ export declare const BADGE_GRADIENT_POSITION_VAR = "--_badge-gradient-position"; export interface GradientSurface { element: HTMLElement; chromeHost: HTMLElement; positionVar: string; } /** Whether the badge sits under a shell with an active wash preset. */ export declare function isShellGradientActive(from: HTMLElement): boolean; /** Bar or panel chrome surface that owns the shell gradient stack. */ export declare function findGradientSurface(from: HTMLElement): GradientSurface | null; interface ParsedPosition { x: number; y: number; } /** Parse a two-value CSS background-position (e.g. `-200px 0`). */ export declare function parseCssBackgroundPosition(value: string): ParsedPosition; /** * Background position for a badge ring so the shell gradient aligns with nav chrome. * Uses badge center relative to the painted chrome surface. */ export declare function badgeGradientPosition(badgeHost: HTMLElement, surface: GradientSurface, shellPosition: string): string; /** Resolve shell gradient position from chrome host custom properties. */ export declare function readShellGradientPosition(surface: GradientSurface): string; /** Stamp `--_badge-gradient-position` on the badge host (fixed viewport chrome). */ export declare function syncBadgeGradientPosition(badgeHost: HTMLElement): void; export {}; //# sourceMappingURL=badge-gradient-ring.d.ts.map