import { ReactElement } from 'react'; import { StickerProps } from '../../../Atoms/Badges/Sticker/Sticker.types'; import { ButtonPrimaryProps } from '../../../Atoms/Buttons/ButtonPrimary/ButtonPrimary.types'; import { ButtonSecondaryProps } from '../../../Atoms/Buttons/ButtonSecondary/ButtonSecondary.types'; import { ButtonTertiaryProps } from '../../../Atoms/Buttons/ButtonTertiary/ButtonTertiary.types'; import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types'; import { Icon32 } from '../../../Base/Icon/Icon.types'; type TextButton = Omit & { buttonType: 'text'; }; type ButtonPrimary = ButtonPrimaryProps & { buttonType: 'primary'; }; type ButtonSecondary = ButtonSecondaryProps & { buttonType: 'secondary'; }; type ButtonTertiary = ButtonTertiaryProps & { buttonType: 'tertiary'; }; export type ButtonProps = TextButton | ButtonPrimary | ButtonSecondary | ButtonTertiary; export default interface EmptyStateProps { buttons?: ButtonProps[]; className?: string; customVisual?: ReactElement; primaryText?: string; secondaryText?: string; size: 'small' | 'medium' | 'large'; stickerProps?: Omit<{ icon: Icon32; } & StickerProps, 'size'>; } export {};