import React from 'react'; import { SizeValue } from '../theme/types'; export interface ClearButtonProps { onPress: () => void; disabled?: boolean; size?: SizeValue; accessibilityLabel?: string; hasRightSection?: boolean; style?: any; /** Override the computed icon size (defaults to the small-context size). */ iconSize?: number; /** Stroke width of the "close" glyph (defaults to the Icon default). */ stroke?: number; } /** * Unified clear button component used across all input-like components * Ensures consistent sizing and behavior */ export declare function ClearButton({ onPress, disabled, size, accessibilityLabel, hasRightSection, style, iconSize: iconSizeOverride, stroke, }: ClearButtonProps): React.JSX.Element;