import * as React from 'react'; import type { PathIconProps } from '@lowes-tech/bds-icons/components/PathIcon'; import type { AlertProps, AlertRef, AlertEvent } from './Alert'; declare const useAlert: ({ component, innerRef, onClose, closeDelay, onActionClick, autoCloseAfter, closed: closedProp, action, actionTo, actionLinkProps, noClose, size, closeButtonProps, title: titleProp, children, subtitle: subtitleProp, type, multiline, width, elevation, height, style: styleProp, iconProps: iconPropsProp, }: { component?: string; innerRef: any; onClose: any; closeDelay: any; onActionClick: any; autoCloseAfter: any; closed: any; action: any; actionTo: any; actionLinkProps: any; noClose: any; size: any; closeButtonProps: any; title: any; children: any; subtitle: any; type: any; multiline: any; width: any; elevation: any; height: any; style: any; iconProps: any; }) => { getEvent: (event: any) => E; handleClose: (event: AlertEvent) => void; handleActionClick: (event: React.MouseEvent) => void; handleCloseKeyDown: (event: React.KeyboardEvent) => void; actionLink: JSX.Element; closeButton: JSX.Element; title: JSX.Element; subtitle: JSX.Element; colors: any; sizes: any; style: any; iconProps: Pick; closed: any; }; interface UseAlertProps { component: 'alert' | 'toast'; innerRef: React.MutableRefObject; onClose: AlertProps['onClose']; closeDelay: AlertProps['closeDelay']; onActionClick: AlertProps['onActionClick']; autoCloseAfter: AlertProps['autoCloseAfter']; closed: AlertProps['closed']; action: AlertProps['action']; actionTo: AlertProps['actionTo']; actionLinkProps: AlertProps['actionLinkProps']; noClose: AlertProps['noClose']; size: AlertProps['size']; closeButtonProps: AlertProps['closeButtonProps']; title: AlertProps['title']; children: AlertProps['children']; subtitle: AlertProps['subtitle']; type: AlertProps['type']; multiline: AlertProps['multiline']; width: AlertProps['width']; elevation: AlertProps['elevation']; height: AlertProps['height']; style: AlertProps['style']; iconProps: AlertProps['iconProps']; } export { useAlert }; export type { UseAlertProps }; export default useAlert;