/**
 * Flowtype definitions for AlertProvider
 * Generated by Flowgen from a Typescript Definition
 * Flowgen v1.21.0
 * @flow
 */

import React, { PropsWithChildren } from "react";
import { AlertProps } from "./Alert";
declare type AlertContextState = {
  addToast: (params: AlertProps) => void,
  ...
};
declare export function useAlertProvider(): AlertContextState;
export type AlertProviderProps = PropsWithChildren<{
  /**
   * Maximum count of stacked notifications. Defaults to 3.
   * @defaultValue 3
   */
  maxStack?: number,
  ...
}>;
declare export function AlertProvider(
  x: AlertProviderProps
): React.ReactElement<AlertProviderProps>;
