import { ColorObject } from './color-object.js'; /** * Modifies the shade of a color by adding black per given `ratio` between `0` and `1`. * * A `ratio` of `0` will return the original color while a `ratio` of `1` will return black. * * By default an exponential algo is applied but the `useLinear` flag can be set to use a linear algo. * * @returns A color object with the new color values. */ declare function shade(rgbOrRgbaOrHex: string, ratio: number, useLinear?: boolean): ColorObject; /** * Modifies the tint of a color by adding white per given `ratio` between `0` and `1`. * * A `ratio` of `0` will return the original color while a `ratio` of `1` will return white. * * By default an exponential algo is applied but the `useLinear` flag can be set to use a linear algo. * * @returns A color object with the new color values. */ declare function tint(rgbOrRgbaOrHex: string, ratio: number, useLinear?: boolean): ColorObject; /** * Modifies the tone of a color by adding gray per given `ratio` between `0` and `1`. * * A `ratio` of `0` will return the original color while a `ratio` of `1` will return gray. * * By default an exponential algo is applied but the `useLinear` flag can be set to use a linear algo. * * @returns A color object with the new color values. */ declare function tone(rgbOrRgbaOrHex: string, ratio: number, useLinear?: boolean): ColorObject; export { shade, tint, tone };