UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

15 lines (14 loc) 593 B
import { BorderIndividualValue } from '../types'; export type { BorderIndividualValue } from '../types'; /** * Parse border-right value * @param value - The CSS border-right value to parse * @returns Parsed BorderIndividualValue or null if invalid */ export declare function parse(value: string): BorderIndividualValue | null; /** * Convert parsed border-right value back to CSS string * @param parsed - The parsed BorderIndividualValue * @returns CSS string representation or null if invalid */ export declare function toCSSValue(parsed: BorderIndividualValue | null): string | null;