import { TPlugin, Iryba, IStringOpts } from "../types"; declare module ".." { interface ColorMaster { /** * Converts a RGBA color instance to RYBA color object * @see http://nishitalab.org/user/UEI/publication/Sugita_IWAIT2015.pdf * @see https://web.archive.org/web/20130525061042/www.insanit.net/tag/rgb-to-ryb/ */ ryba(): Iryba; /** * Gives the string representation of an input RYBA color object * * @example CM({ r: 200, g: 150, b: 100, a: 0.7 }).stringRYB() → "color(ryba 200, 200, 100, 0.7)" * @default opts = { alpha: true, precision: [0, 0, 0, 1] } * @returns ```color(ryb[a] R, Y, B[, A])``` */ stringRYB(opts?: IStringOpts): string; } } declare const RYBPlugin: TPlugin; export default RYBPlugin;