1 | import { Color } from '../../color';
|
2 | import { CoreTypes } from '../../core-types';
|
3 | export interface ShadowCSSValues {
|
4 | inset: boolean;
|
5 | offsetX: CoreTypes.LengthType;
|
6 | offsetY: CoreTypes.LengthType;
|
7 | blurRadius?: CoreTypes.LengthType;
|
8 | spreadRadius?: CoreTypes.LengthType;
|
9 | color: Color;
|
10 | }
|
11 | /**
|
12 | * Parse a string into ShadowCSSValues
|
13 | * Supports any valid css box/text shadow combination.
|
14 | *
|
15 | * inspired by https://github.com/jxnblk/css-box-shadow/blob/master/index.js (MIT License)
|
16 | *
|
17 | * @param value
|
18 | */
|
19 | export declare function parseCSSShadow(value: string): ShadowCSSValues;
|