import * as React from "react";

interface MDSnackbarProps {
  /**
   * Color of the snackbar.
   * @default "info"
   */
  color?: "primary" | "secondary" | "info" | "success" | "warning" | "error" | "dark" | "light";

  /**
   * Icon displayed in the snackbar.
   */
  icon: React.ReactNode;

  /**
   * Title of the snackbar.
   */
  title: string;

  /**
   * Date and time displayed in the snackbar.
   */
  dateTime: string;

  /**
   * Content of the snackbar.
   */
  content: React.ReactNode;

  /**
   * Function to close the snackbar.
   */
  close: () => void;

  /**
   * Whether the snackbar has a white background.
   * @default false
   */
  bgWhite?: boolean;

  /**
   * Additional props passed to the Snackbar component.
   */
  [key: string]: any;
}

/**
 * MDSnackbar is a customizable snackbar component with support for colors, icons, titles, and more.
 */
declare const MDSnackbar: React.FC<MDSnackbarProps>;

export default MDSnackbar;