import type { ReactNode } from 'react'; import React from 'react'; import type { ViewProps } from 'react-native'; import type { IconName } from '../../Icon'; interface UtilityButtonProps extends ViewProps { /** * Places an icon within the button, before the button's text */ icon: IconName; /** * Set the handler to handle press event. */ onPress: () => void; /** * Button label. */ text: ReactNode; /** * Visual intent color to apply to button. */ intent?: 'primary' | 'text'; } declare const UtilityButton: ({ icon, onPress, text, testID, intent, style, hitSlop, }: UtilityButtonProps) => React.JSX.Element; export default UtilityButton;