source: trip-planner-front/node_modules/colord/parse.d.ts@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 426 bytes
Line 
1import { Parsers, ParseResult, Input, Format } from "./types";
2export declare const parsers: Parsers;
3/** Tries to convert an incoming value into RGBA color by going through all color model parsers */
4export declare const parse: (input: Input) => ParseResult | [null, undefined];
5/**
6 * Returns a color model name for the input passed to the function.
7 */
8export declare const getFormat: (input: Input) => Format | undefined;
Note: See TracBrowser for help on using the repository browser.