import { CardProps } from './card'; import { CardContentProps } from './card-content/card-content'; export type CardBorderPlacement = 'top' | 'left'; export type CardBorderType = `${CardBorderPlacement}-${CardBackground}` | CardBackground; export type CardContentPaddingNumber = 0 | 0.5 | 0.75 | 1 | 1.5 | 2 | 2.5 | 3; export type CardBackground = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'brand-primary' | 'brand-secondary' | 'brand-tertiary' | 'brand-quaternary' | 'danger-primary' | 'danger-secondary' | 'success-primary' | 'success-secondary' | 'info-primary' | 'info-secondary' | 'warning-primary' | 'warning-secondary' | 'neutral-primary' | 'neutral-secondary'; export type CardBorderTypeArray = [CardBorderPlacement, CardBackground]; /** * Extracts the border placement and color from the provided border value. * @param border - The border value from CardProps. * @returns A tuple [placement, color] or an empty array if border is undefined. */ export declare const getCardBorderPlacementColor: (border?: CardProps["border"]) => CardBorderTypeArray | []; /** * Generates CSS variables for card content padding based on the provided padding configuration. * @param padding - The padding configuration from CardContentProps. * @returns An object with CSS variables for padding. */ export declare const getPaddingCssVariables: (padding: CardContentProps["padding"]) => { '--card-content-padding-top': string; '--card-content-padding-right': string; '--card-content-padding-bottom': string; '--card-content-padding-left': string; }; export type BorderRadius = false | { top?: boolean; right?: boolean; bottom?: boolean; left?: boolean; topLeft?: boolean; topRight?: boolean; bottomRight?: boolean; bottomLeft?: boolean; }; export type ResolvedCorners = { topLeft: boolean; topRight: boolean; bottomRight: boolean; bottomLeft: boolean; }; export declare const resolveBorderRadius: (config?: BorderRadius) => ResolvedCorners;