import React from "react"; import { StyleProp, TextStyle, ViewStyle } from "react-native"; export type ToastType = "success" | "error" | "info"; export type ToastAnimation = "fade" | "zoomIn" | "zoomOut" | "fromTop" | "fromBottom" | "center" | "leftToCenterCloseRight" | "rightToCenterCloseLeft" | "leftToCenterCloseLeft" | "rightToCenterCloseRight"; export type ToastRef = { show: (message: string, type?: ToastType, animation?: ToastAnimation, duration?: number) => void; }; export declare const toastRef: React.RefObject; interface ToastProps { defaultAnimation?: ToastAnimation; top?: number; width?: number; iconSize?: number; iconColor?: string; backgroundColors?: Partial>; textStyle?: StyleProp; contentStyle?: StyleProp; duration?: number; customIcons?: Partial>; maxHeight?: number; containerStyle?: StyleProp; } declare const _default: React.NamedExoticComponent>; export default _default;