import type { Device, NUMBER_INTEGER, STRING_8DIGIT_HEX, StyleAndHoverStyle } from '../types'; import type { CB_STYLE_PROP_KEYS } from './types'; export type NAMED_CB_STYLE_BORDER_PROPS = { name: CB_STYLE_PROP_KEYS.CB_STYLE_PROP_BORDER; specs: CB_STYLE_PROP_BORDER_SPECS; }; export default function parseStylePropBorder(namedProps: NAMED_CB_STYLE_BORDER_PROPS, device: Device): StyleAndHoverStyle; type CB_STYLE_PROP_BORDER_SPEC_RADIUS_OBJ = { tl: number; tr: number; bl: number; br: number; }; type CB_STYLE_PROP_BORDER_SPEC_STYLE = 'NONE' | 'SOLID' | 'DOTTED' | 'DASHED'; export type CB_STYLE_PROP_BORDER_SPECS_BASE = { CB_STYLE_PROP_BORDER_SPEC_STYLE: CB_STYLE_PROP_BORDER_SPEC_STYLE; CB_STYLE_PROP_BORDER_SPEC_WIDTH: NUMBER_INTEGER; CB_STYLE_PROP_BORDER_SPEC_COLOR: STRING_8DIGIT_HEX; CB_STYLE_PROP_BORDER_SPEC_RADIUS: CB_STYLE_PROP_BORDER_SPEC_RADIUS_OBJ; CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX: boolean; }; export type CB_STYLE_PROP_BORDER_SPECS = CB_STYLE_PROP_BORDER_SPECS_BASE & { 'CB_STYLE_PROP_BORDER_SPEC_STYLE:HOVER': CB_STYLE_PROP_BORDER_SPEC_STYLE | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE': CB_STYLE_PROP_BORDER_SPEC_STYLE | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE:HOVER': CB_STYLE_PROP_BORDER_SPEC_STYLE | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:HOVER': NUMBER_INTEGER | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE': NUMBER_INTEGER | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE:HOVER': NUMBER_INTEGER | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_COLOR:HOVER': STRING_8DIGIT_HEX | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE': STRING_8DIGIT_HEX | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE:HOVER': STRING_8DIGIT_HEX | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:HOVER': CB_STYLE_PROP_BORDER_SPEC_RADIUS_OBJ | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE': CB_STYLE_PROP_BORDER_SPEC_RADIUS_OBJ | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE:HOVER': CB_STYLE_PROP_BORDER_SPEC_RADIUS_OBJ | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:HOVER': boolean | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE': boolean | null | undefined; 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE:HOVER': boolean | null | undefined; }; export {};