/** * Parse CSS values from computed styles */ export interface ParsedBoxShadow { offsetX: number; offsetY: number; blur: number; spread: number; color: string; } export interface ParsedTextShadow { offsetX: number; offsetY: number; blur: number; color: string; } export interface ParsedBorder { width: string; style: string; color: string; } /** * Parse box-shadow value into individual shadows */ export declare function parseBoxShadow(boxShadow: string): ParsedBoxShadow[]; /** * Parse text-shadow value into individual shadows */ export declare function parseTextShadow(textShadow: string): ParsedTextShadow[]; /** * Parse border value */ export declare function parseBorder(border: string, borderWidth?: string, borderStyle?: string, borderColor?: string): ParsedBorder | null; /** * Check if a value is a gradient */ export declare function isGradient(value: string): boolean; /** * Check if a value is a CSS variable */ export declare function isCssVariable(value: string): boolean; /** * Extract all styles from an element */ export declare function extractElementStyles(element: HTMLElement | null): { boxShadows: ParsedBoxShadow[]; textShadows: ParsedTextShadow[]; backgroundColor: string | null; backgroundImage: string | null; border: ParsedBorder | null; outline: ParsedBorder | null; }; //# sourceMappingURL=style-parser.d.ts.map