import { RefObject } from "react";
import { AccessibilityRole, GestureResponderEvent, View } from "react-native";
import { WithTestID } from "../../utils/types";
import { IOIcons } from "../icons";
type BaseBannerErrorStateProps = WithTestID<{
    icon?: IOIcons;
    label: string;
    viewRef?: RefObject<View>;
    accessibilityLabel?: string;
    accessibilityHint?: string;
}>;
type BannerErrorStateActionProps = {
    actionText?: string;
    onPress: (event: GestureResponderEvent) => void;
    accessibilityRole?: never;
} | {
    actionText?: never;
    onPress?: never;
    accessibilityRole?: AccessibilityRole;
};
export type BannerErrorStateProps = BaseBannerErrorStateProps & BannerErrorStateActionProps;
/**
 ** TODO: Move it to the `io-app-design-system` package
 */
export declare const BannerErrorState: ({ viewRef, icon, label, actionText, onPress, accessibilityHint, accessibilityLabel, testID }: BannerErrorStateProps) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=BannerErrorState.d.ts.map