declare module '@salesforce/design-system-react/components/notification' { import React from 'react'; type Props = { iconCategory?: string; /** * Custom classes applied to Notification element. */ className?: string; /** * Message for Notification. */ content: React.ReactNode /*.isRequired*/; /** * If true, close button appears for users to dismiss Notification. */ dismissible?: boolean; /** * If duration exists, the Notification will disappear after that amount of time. */ duration?: number; /** * Name of the icon. Visit Lighning Design System Icons to reference icon names. */ iconName?: string; isOpen: boolean /*.isRequired*/; onDismiss?: (v: any) => any; /** * Styling for Notification background. */ texture?: boolean; /** * Styling for Notification background color. Please reference Lighning Design System Themes > Color. */ theme?: 'success' | 'warning' | 'error' | 'offline'; variant: 'alert' | 'toast' /*.isRequired*/; }; /** * The Notification component is the Alert and Toast variants of the Lightning Design System Notification component. For prompt notifications, use the Modal component with prompt={true}. * The Notification opens from a state change outside of the component itself (pass this state to the isOpen prop). */ function Component(props: Props): JSX.Element; export default Component; }