import { JSX, Ref } from "react"; import { GestureResponderEvent, View } from "react-native"; import { WithTestID } from "../../utils/types"; type AlertProps = WithTestID<{ ref?: Ref; variant: "error" | "warning" | "info" | "success"; content: string; fullWidth?: boolean; accessibilityLabel?: string; accessibilityHint?: string; }>; type AlertActionProps = { action?: string; onPress: (event: GestureResponderEvent) => void; } | { action?: never; onPress?: never; }; type AlertType = AlertProps & AlertActionProps; export declare const Alert: ({ variant, content, action, onPress, fullWidth, accessibilityHint, ref: viewRef, testID }: AlertType) => JSX.Element; export {}; //# sourceMappingURL=Alert.d.ts.map