/** * Pick the text color for a sidebar badge label drawn on a theme accent. * Keep this logic in sync with Magic Context so both sidebars make the same * contrast decision for shared themes. */ type Color = { r: number; g: number; b: number; a?: number; }; export declare function readableTextColorOn(bg: Color): string; export declare function badgeTextColor(accent: T, background: T): T | string; export {}; //# sourceMappingURL=badge-contrast.d.ts.map