import * as React from 'react'; export interface SVGProps extends Omit, 'path'> { tagName: string; path?: number[]; } declare function SVG({ tagName: Component, path, ...rest }: SVGProps): React.ReactElement | null; declare namespace SVG { var parse: (text: string, { debug, name, width, height }?: ParseOption) => React.ReactElement>; } export interface ParseOption { debug?: boolean; name?: string; width?: number; height?: number; } export default SVG; export declare function getColors(text: string): RegExpMatchArray;