import { SizeValue } from './sizes'; export type RadiusValue = SizeValue | 'none' | 'full' | 'chip'; /** * Enhanced radius scale with special values */ export declare const RADIUS_SCALE: { readonly none: 0; readonly xs: 2; readonly sm: 4; readonly md: 6; readonly lg: 8; readonly xl: 12; readonly '2xl': 16; readonly '3xl': 24; readonly full: 9999; readonly chip: 9999; }; /** * Get border radius value from radius token or number * @param value - Radius value (string token, number, or special value) * @param componentHeight - Height of component for chip/full calculation * @returns Resolved border radius as number */ export declare function getBorderRadius(value: RadiusValue | undefined, componentHeight?: number): number; /** * Get component-specific default radius */ export declare const COMPONENT_RADIUS_DEFAULTS: { readonly button: RadiusValue; readonly card: RadiusValue; readonly chip: RadiusValue; readonly input: RadiusValue; readonly modal: RadiusValue; readonly tooltip: RadiusValue; readonly alert: RadiusValue; readonly badge: RadiusValue; readonly indicator: RadiusValue; readonly codeBlock: RadiusValue; readonly progress: RadiusValue; readonly switch: RadiusValue; readonly checkbox: RadiusValue; readonly radio: RadiusValue; readonly slider: RadiusValue; }; /** * Border radius props interface for components */ export interface BorderRadiusProps { /** Border radius value - supports size tokens, numbers, and special values */ radius?: RadiusValue; } /** * Get the default radius for a specific component type */ export declare function getComponentDefaultRadius(componentType: keyof typeof COMPONENT_RADIUS_DEFAULTS): RadiusValue; /** * Create border radius styles object for React Native */ export declare function createRadiusStyles(radius: RadiusValue | undefined, componentHeight?: number, componentType?: keyof typeof COMPONENT_RADIUS_DEFAULTS): { borderRadius: number; borderTopLeftRadius: number; borderTopRightRadius: number; borderBottomLeftRadius: number; borderBottomRightRadius: number; }; /** * Border radius utilities for specific corners */ export interface CornerRadiusProps extends BorderRadiusProps { /** Top-left corner radius */ radiusTopLeft?: RadiusValue; /** Top-right corner radius */ radiusTopRight?: RadiusValue; /** Bottom-left corner radius */ radiusBottomLeft?: RadiusValue; /** Bottom-right corner radius */ radiusBottomRight?: RadiusValue; /** Top corners radius (overrides individual top corners) */ radiusTop?: RadiusValue; /** Bottom corners radius (overrides individual bottom corners) */ radiusBottom?: RadiusValue; /** Left corners radius (overrides individual left corners) */ radiusLeft?: RadiusValue; /** Right corners radius (overrides individual right corners) */ radiusRight?: RadiusValue; } /** * Create advanced border radius styles with individual corner control */ export declare function createAdvancedRadiusStyles(props: CornerRadiusProps, componentHeight?: number, componentType?: keyof typeof COMPONENT_RADIUS_DEFAULTS): { borderTopLeftRadius: number; borderTopRightRadius: number; borderBottomLeftRadius: number; borderBottomRightRadius: number; borderRadius: number; }; declare const _default: { getBorderRadius: typeof getBorderRadius; createRadiusStyles: typeof createRadiusStyles; createAdvancedRadiusStyles: typeof createAdvancedRadiusStyles; RADIUS_SCALE: { readonly none: 0; readonly xs: 2; readonly sm: 4; readonly md: 6; readonly lg: 8; readonly xl: 12; readonly '2xl': 16; readonly '3xl': 24; readonly full: 9999; readonly chip: 9999; }; COMPONENT_RADIUS_DEFAULTS: { readonly button: RadiusValue; readonly card: RadiusValue; readonly chip: RadiusValue; readonly input: RadiusValue; readonly modal: RadiusValue; readonly tooltip: RadiusValue; readonly alert: RadiusValue; readonly badge: RadiusValue; readonly indicator: RadiusValue; readonly codeBlock: RadiusValue; readonly progress: RadiusValue; readonly switch: RadiusValue; readonly checkbox: RadiusValue; readonly radio: RadiusValue; readonly slider: RadiusValue; }; getComponentDefaultRadius: typeof getComponentDefaultRadius; }; export default _default;