/** * Pre-constructed tools for color conversion and palette-oriented calculations. * * @module @nhtio/adk/batteries/tools/color * * @remarks * Pre-constructed bundled tools for the `color` category. Import individually, the whole * category, or import every tool via `@nhtio/adk/batteries`. */ import { Tool } from "../../../common"; /** * Compute the WCAG 2.1 contrast ratio between two colours. * * @remarks * Accepts hex (`#rgb`, `#rrggbb`), `rgb()`, `hsl()`, or one of the CSS / Material Design named * colours. Reports the ratio and pass/fail against WCAG AA and AAA at both normal and large text * sizes. If the foreground/background combination fails AA Normal (4.5:1), the tool suggests * lightened or darkened variants that would pass. */ export declare const colorContrastTool: Tool; /** * Generate a colour palette from a base colour using a named harmony. * * @remarks * Supported schemes: `complementary`, `analogous`, `triadic`, `split-complementary`, * `monochromatic`. Each entry reports its hex, rgb, and hsl forms, plus the contrast ratio * relative to the base colour. */ export declare const colorSchemeTool: Tool; /** * Lighten or darken a colour by a percentage of HSL lightness. * * @remarks * `amount` is clamped to `[1, 100]`; `steps` is clamped to `[1, 10]`. With `steps > 1` the tool * emits a ramp of progressively-adjusted colours, useful for generating tint/shade scales. */ export declare const colorAdjustTool: Tool;