import React from 'react';
import { SnackbarProps } from '../Snackbar';
declare type ISnackbarProps = Pick<SnackbarProps, 'type' | 'isOpen' | 'setIsOpen' | 'action'>;
declare type IconType = React.ForwardRefExoticComponent<{
    size: number | undefined;
} & React.SVGProps<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
interface ISnackbarReturn {
    Icon: IconType;
    closeSnackbar: () => void;
    setSnackbarTimer: () => void;
}
export default function useSnackbar({ type, isOpen, setIsOpen, action, }: ISnackbarProps): ISnackbarReturn;
export {};
//# sourceMappingURL=useSnackbar.d.ts.map