import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { CreateSlotsAndSlotProps, SlotCommonProps, SlotProps } from '../types/slot'; import { ApplyColorInversion } from '../types/colorSystem'; export interface LinearProgressPropsColorOverrides { } export interface LinearProgressSlots { /** * The component that renders the root. * @default 'div' */ root?: React.ElementType; } export type LinearProgressSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface LinearProgressTypeMap

{ props: P & { /** * The color of the component. * @default 'primary' */ color?: OverridableStringUnion<'primary' | 'error' | 'info' | 'success' | 'warning' | 'inherit', LinearProgressPropsColorOverrides>; /** * The thickness of the bar. * @default 4 */ thickness?: number; /** * The value of the progress indicator for the determinate and buffer variants. * Value between 0 and 100. * @default variant === 'determinate' ? 0 : 25 */ value?: number; /** * The variant to use. * Use indeterminate or query when there is no progress value. * @default 'indeterminate' */ variant?: 'determinate' | 'indeterminate'; } & LinearProgressSlotsAndSlotProps; defaultComponent: D; } export type LinearProgressProps = OverrideProps, D>; export interface LinearProgressOwnerState extends ApplyColorInversion { direction?: 'ltr' | 'rtl'; }