import * as React from 'react'; import { ExtendBadgeUnstyledTypeMap } from '@mui/base/BadgeUnstyled'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { ColorPaletteProp } from '../styles/types/colorSystem.js'; import { VariantProp } from '../styles/types/variants.js'; import { SxProps } from '../styles/types/theme.js'; import '@mui/system'; import '../styles/types/colorScheme.js'; import '../styles/types/focus.js'; import '../styles/types/shadow.js'; import '../styles/types/radius.js'; import '../styles/types/typography.js'; declare type BadgeSlot = "root" | "badge"; interface BadgePropsVariantOverrides { } interface BadgePropsColorOverrides { } interface BadgePropsSizeOverrides { } interface BadgeOrigin { vertical: "top" | "bottom"; horizontal: "left" | "right"; } declare type BadgeTypeMap = ExtendBadgeUnstyledTypeMap<{ props: P & { /** * The anchor of the badge. * @default { * vertical: 'top', * horizontal: 'right', * } */ anchorOrigin?: BadgeOrigin; /** * The inset of the badge. Support shorthand syntax as described in https://developer.mozilla.org/en-US/docs/Web/CSS/inset. * @default 0 */ badgeInset?: number | string; /** * The color of the component. It supports those theme colors that make sense for this component. * @default 'primary' */ color?: OverridableStringUnion; /** * The size of the component. * @default 'md' */ size?: OverridableStringUnion<"sm" | "md" | "lg", BadgePropsSizeOverrides>; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * The variant to use. * @default 'solid' */ variant?: OverridableStringUnion; }; defaultComponent: D; }>; declare type BadgeProps = OverrideProps, D>; export { BadgeOrigin, BadgeProps, BadgePropsColorOverrides, BadgePropsSizeOverrides, BadgePropsVariantOverrides, BadgeSlot, BadgeTypeMap };