import { type CSSObject } from '@emotion/serialize'; import { BorderTopLeftRadiusProperty, BorderTopRightRadiusProperty, BorderBottomRightRadiusProperty, BorderBottomLeftRadiusProperty } from 'csstype'; import { LengthPercentageData } from './length-percentage'; /** @see https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius#constituent_properties */ export type BorderRadiusLonghandPropertyData = LengthPercentageData; /** * @see https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius * * @todos * - Remove `null` from possible values of longhand properties * - Remove `undefined` from possible values and make fields optional */ export type BorderRadiusPropertyData = { borderTopLeftRadius?: LengthPercentageData | BorderTopLeftRadiusProperty | null | undefined; borderTopRightRadius?: LengthPercentageData | BorderTopRightRadiusProperty | null | undefined; borderBottomRightRadius?: LengthPercentageData | BorderBottomRightRadiusProperty | null | undefined; borderBottomLeftRadius?: LengthPercentageData | BorderBottomLeftRadiusProperty | null | undefined; }; export declare function borderRadiusPropertyDataToStyle(data: BorderRadiusPropertyData, defaultValue?: BorderRadiusPropertyData): CSSObject; //# sourceMappingURL=border-radius.d.ts.map