import React from 'react'; interface IDialogProps { isOpen: boolean; handleClose: (event: React.MouseEvent) => void; title: string; onPrimaryActionClick: (event: (React.MouseEvent)) => void; primaryActionLabel: string; onSecondaryActionClick?: (event: (React.MouseEvent)) => void; secondaryActionLabel?: string; variant: DialogVariant; componentContext: string; /** If true, will close when esc is pressed */ shouldCloseOnEsc?: boolean; /** If true, will close when overlay is clicked */ shouldCloseOnOverlayClick?: boolean; /** If true, primary button will show spinner and is disabled */ isLoading?: boolean; /** If true, primary button will be disabled. (Only needed if it needs to be disabled by other than the loading state.) */ primaryButtonDisabled?: boolean; } declare enum DialogVariant { Default = "default", Destructive = "destructive" } declare const Dialog: React.FC> & { Variant: typeof DialogVariant; }; export { IDialogProps, Dialog, DialogVariant };