import type { ReactNode } from 'react'; import React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { ActionIntent } from './StyledSwipeable'; export interface SwipeableActionProps { /** * Visual intent color applied to action. */ intent?: ActionIntent; /** * Callback when the action button is pressed. */ onPress?: () => void; /** * Action button's content */ children?: ReactNode; /** * Additional style. */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; } declare const SwipeableAction: ({ intent, onPress, style, children, testID, }: SwipeableActionProps) => React.JSX.Element; export default SwipeableAction;