import * as valued from 'valued'; import { ParserInput } from 'valued'; import { NumberValue } from 'valued/data/number'; import { PercentageValue } from 'valued/data/percentage'; type FillInput = `${'evenodd' | 'nonzero'} ${string}` | `${string} ${'evenodd' | 'nonzero'}` | (string & {}) | undefined; declare const opacityParser: valued.Parser; type OpacityParser = typeof opacityParser; type OpacityInput = ParserInput | number | string | undefined; type StrokeInput = string; interface StrokeProps { stroke?: StrokeInput; opacity?: OpacityInput; } interface FillProps { fill?: FillInput; opacity?: OpacityInput; } interface PaintProps extends FillProps, StrokeProps { } export type { PaintProps as P, StrokeProps as S };