import { ComponentProps, FC, ReactElement } from "react";
import * as class_variance_authority_types5 from "class-variance-authority/types";
import { VariantProps } from "class-variance-authority";
import * as ToastPrimitives from "@radix-ui/react-toast";

//#region src/components/Toaster/Toast.d.ts
declare const ToastProvider: typeof ToastPrimitives;
declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>;
/**
 * Toast variant styles using class-variance-authority.
 *
 * Defines visual styles for different toast types with semantic colors,
 * animations, and responsive behavior.
 *
 * @example
 * ```tsx
 * // Error toast with red background
 * <Toast variant="error">Error message</Toast>
 *
 * // Success toast with green background
 * <Toast variant="success">Success message</Toast>
 *
 * // Default toast with neutral styling
 * <Toast variant="default">Info message</Toast>
 * ```
 */
declare const toastVariants: (props?: {
  variant?: "default" | "error" | "success";
} & class_variance_authority_types5.ClassProp) => string;
/**
 * Toast Component
 *
 * A notification component that displays temporary messages to users using Radix UI primitives.
 * Supports different visual variants, animations, and user interactions including swipe-to-dismiss.
 *
 * ## Features
 * - **Visual Variants**: Error, success, and default styling themes
 * - **Animations**: Smooth slide-in/slide-out transitions with fade effects
 * - **Swipe Gestures**: Touch-friendly swipe-to-dismiss functionality
 * - **Accessibility**: Full screen reader support and keyboard navigation
 * - **Positioning**: Smart positioning with responsive viewport handling
 * - **Auto-dismiss**: Configurable automatic dismissal timing
 *
 * ## Technical Implementation
 * - Built on Radix UI Toast primitives for accessibility compliance
 * - Uses Framer Motion for smooth animations and gestures
 * - CVA (class-variance-authority) for consistent styling variants
 * - Backdrop blur effects for modern visual appeal
 * - CSS transforms for hardware-accelerated animations
 *
 * @example
 * ```tsx
 * // Basic toast with title and description
 * <Toast variant="default">
 *   <ToastTitle>Notification</ToastTitle>
 *   <ToastDescription>Your action was completed successfully.</ToastDescription>
 *   <ToastClose />
 * </Toast>
 *
 * // Error toast with action button
 * <Toast variant="error">
 *   <ToastTitle>Upload Failed</ToastTitle>
 *   <ToastDescription>Could not upload file. Please try again.</ToastDescription>
 *   <ToastAction altText="Retry upload">Retry</ToastAction>
 *   <ToastClose />
 * </Toast>
 * ```
 */
declare const Toast: FC<ComponentProps<typeof ToastPrimitives.Root> & VariantProps<typeof toastVariants>>;
/**
 * ToastAction Component
 *
 * An interactive button component for toast notifications that allows users to take
 * actions related to the notification message.
 *
 * ## Features
 * - **Accessibility**: Requires `altText` prop for screen readers
 * - **Visual States**: Hover, focus, and disabled state styling
 * - **Theme Integration**: Supports destructive and default themes
 * - **Keyboard Navigation**: Full keyboard accessibility support
 *
 * ## Usage Guidelines
 * - Use for actionable notifications (retry, undo, view details)
 * - Keep action text short and descriptive
 * - Provide meaningful `altText` for accessibility
 * - Limit to one primary action per toast
 *
 * @example
 * ```tsx
 * // Retry action for failed operations
 * <ToastAction altText="Retry the failed operation">
 *   Retry
 * </ToastAction>
 *
 * // Undo action for reversible operations
 * <ToastAction altText="Undo the last action">
 *   Undo
 * </ToastAction>
 *
 * // Navigation action
 * <ToastAction altText="View the uploaded file">
 *   View File
 * </ToastAction>
 * ```
 */
declare const ToastAction: FC<ComponentProps<typeof ToastPrimitives.Action>>;
declare const ToastClose: FC<ComponentProps<typeof ToastPrimitives.Close>>;
/**
 * ToastTitle Component
 *
 * The primary heading text for toast notifications. Provides semantic structure
 * and proper typography hierarchy within the toast.
 *
 * ## Styling Features
 * - Semi-bold font weight for emphasis
 * - Automatic text sizing adjustments for descriptions
 * - Proper spacing relationships with other toast elements
 *
 * @example
 * ```tsx
 * <ToastTitle>File Upload Complete</ToastTitle>
 * <ToastTitle>Error: Connection Failed</ToastTitle>
 * <ToastTitle>Settings Saved</ToastTitle>
 * ```
 */
declare const ToastTitle: FC<ComponentProps<typeof ToastPrimitives.Title>>;
/**
 * ToastDescription Component
 *
 * Supporting text that provides additional context or details for the toast notification.
 * Complements the ToastTitle with more detailed information.
 *
 * ## Styling Features
 * - Slightly reduced opacity for visual hierarchy
 * - Smaller text size than title
 * - Optimal line height for readability
 *
 * ## Content Guidelines
 * - Keep descriptions concise but informative
 * - Provide actionable information when possible
 * - Use plain language for better accessibility
 *
 * @example
 * ```tsx
 * <ToastDescription>
 *   Your document has been uploaded successfully and is now available for sharing.
 * </ToastDescription>
 *
 * <ToastDescription>
 *   Please check your internet connection and try again.
 * </ToastDescription>
 * ```
 */
declare const ToastDescription: FC<ComponentProps<typeof ToastPrimitives.Description>>;
/**
 * Props type for Toast component including all Radix UI Toast.Root props
 * and variant styling options.
 */
type ToastProps = ComponentProps<typeof Toast>;
/**
 * Type for ToastAction elements used in toast configurations.
 * Ensures type safety when passing action elements to toast functions.
 */
type ToastActionElement = ReactElement<typeof ToastAction>;
//#endregion
export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
//# sourceMappingURL=Toast.d.ts.map