import type { Device, ENUM_STRING, STRING_PLAIN, StyleAndHoverStyle } from '../types'; import type { CB_STYLE_PROP_KEYS } from './types'; export type NAMED_CB_STYLE_BGIMAGE_PROPS = { name: CB_STYLE_PROP_KEYS.CB_STYLE_PROP_BGMEDIA; specs: CB_STYLE_PROP_BGIMAGE_SPECS; }; export default function parseStylePropBGImage(namedProps: NAMED_CB_STYLE_BGIMAGE_PROPS, device: Device): StyleAndHoverStyle; export type CB_STYLE_PROP_BGIMAGE_SPECS_BASE = { CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: STRING_PLAIN; CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION: ENUM_STRING; CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL: boolean; }; export type CB_STYLE_PROP_BGIMAGE_SPECS = CB_STYLE_PROP_BGIMAGE_SPECS_BASE & { 'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT:HOVER': STRING_PLAIN | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT:MOBILE': STRING_PLAIN | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT:MOBILE:HOVER': STRING_PLAIN | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION:HOVER': ENUM_STRING | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION:MOBILE': ENUM_STRING | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEPOSITION:MOBILE:HOVER': ENUM_STRING | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL:HOVER': boolean | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL:MOBILE': boolean | null | undefined; 'CB_STYLE_PROP_BGMEDIA_SPEC_SCROLL:MOBILE:HOVER': boolean | null | undefined; };