import * as React from 'react';
import { SnackbarKey, SnackbarMessage } from 'notistack';
export declare const snackbarSizes: readonly ["M", "L"];
type SnackbarSize = (typeof snackbarSizes)[number];
export declare const snackbarSeverities: readonly ["success", "info", "error", "warning"];
type SnackbarSeverity = (typeof snackbarSeverities)[number];
export type SnackbarProps = {
    /**
     * Unique key associated to this snackbar. It will be used to close this
     * snackbar using closeSnackbar returned by hook useSnackbar.
     */
    identifierKey: SnackbarKey;
    /**
     * Message to show
     */
    message: SnackbarMessage;
    /**
     * Severity of this Snackbar
     */
    severity?: SnackbarSeverity;
    /**
     * Size of Snackbar
     */
    size?: SnackbarSize;
    /**
     * Whether the icon is visible or not.
     * The iconId will depend on severity.
     */
    withIcon?: boolean;
    /**
     * The text to show in the action button of this Snackbar.
     * Leave it empty or undefined to not show action button.
     */
    actionText?: string;
    /**
     * Key to bind data-test attribute
     */
    dataTestKey?: string;
    /**
     * Click handler for main action button click.
     */
    onActionClick?: (key: SnackbarKey) => void;
    /**
     * Custom handler for close event.
     */
    onCloseClick?: (key: SnackbarKey) => void;
};
/**
 * An ephemeral message to be shown in some place of the screen. AKA Toast component.
 * This is the rendered component only. To show/hide a Snackbar, see useSnackbar hook.
 * This component should be rendered as descendant (at any level) of SnackbarProvider.
 */
declare const Snackbar: React.ForwardRefExoticComponent<SnackbarProps & React.RefAttributes<HTMLDivElement>>;
export default Snackbar;
