mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 21:24:26 +08:00
R=jacktfranklin@chromium.org Bug: none Change-Id: I961be18530d3ccbc4efed0c2cda9bd603b14e27b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3372931 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
9 lines
426 B
TypeScript
9 lines
426 B
TypeScript
import { Parsers, ParseResult, Input, Format } from "./types";
|
|
export declare const parsers: Parsers;
|
|
/** Tries to convert an incoming value into RGBA color by going through all color model parsers */
|
|
export declare const parse: (input: Input) => ParseResult | [null, undefined];
|
|
/**
|
|
* Returns a color model name for the input passed to the function.
|
|
*/
|
|
export declare const getFormat: (input: Input) => Format | undefined;
|