import type { NamedCSSColour } from "./types"; /** * Finds the nearest colour in a palette to a given colour. * * @param {string | NamedCSSColour} colour - The colour to match. It can be a hexadecimal colour, a CSS RGB colour, or a named CSS colour. * @param {string[] | NamedCSSColour[]} palette - The palette of colours to search. * @returns {string} The nearest colour in the palette to the given colour. */ export declare function findNearestColour(colour: string | NamedCSSColour, palette: string[] | NamedCSSColour[]): string | NamedCSSColour | undefined;