import { ToastOptions as SnackBarItemOptions } from '@react-stately/toast';
import { ReactElement, Ref } from 'react';
import { SnackbarItemValue } from './SnackbarItem';
import { SnackbarRegionProps } from './SnackbarRegion';
export declare const clearSnackbarQueue: () => void;
export type SnackbarProps = Omit<SnackbarRegionProps, 'state'> & {
    ref?: Ref<HTMLDivElement>;
};
export declare const Snackbar: {
    ({ ref: forwardedRef, ...props }: SnackbarProps): ReactElement | null;
    displayName: string;
};
export interface AddSnackbarArgs extends SnackbarItemValue, Omit<SnackBarItemOptions, 'timeout'> {
    /**
     * Handler that is called when the snackbar is closed, either by the user
     * or after a timeout.
     */
    onClose?: () => void;
    /**
     * A timeout to automatically close the snackbar after, in milliseconds.
     * @default 5000
     */
    timeout?: number | null;
    /**
     * The priority of the snackbar relative to other snackbars. Larger numbers indicate higher priority.
     */
    priority?: number;
}
export declare const addSnackbar: ({ onClose, timeout, priority, ...content }: AddSnackbarArgs) => void;
