import * as React from 'react'; 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 TabSlot = "root"; interface TabPropsColorOverrides { } interface TabPropsVariantOverrides { } interface TabTypeMap

{ props: P & { /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ action?: React.Ref<{ focusVisible(): void; }>; /** * The color of the component. It supports those theme colors that make sense for this component. * @default 'neutral' */ color?: OverridableStringUnion; /** * If `true`, the component is disabled. * @default false */ disabled?: boolean; /** * The content direction flow. * @default 'horizontal' */ orientation?: "horizontal" | "vertical"; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * You can provide your own value. Otherwise, we fall back to the child position index. */ value?: number | string; /** * Callback invoked when new value is being set. */ onChange?: (event: React.SyntheticEvent, value: number | string) => void; /** * The variant to use. * @default 'plain' */ variant?: OverridableStringUnion; }; defaultComponent: D; } declare type TabProps = OverrideProps, D>; interface TabOwnerState extends TabProps { /** * If `true`, the tab is activated by mouse or keyboard. */ active: boolean; /** * If `true`, the tab's focus is visible. */ focusVisible?: boolean; /** * If `true`, the tab is disabled. */ disabled: boolean; /** * If `true`, the tab is disabled. */ selected: boolean; /** * @internal */ row: boolean; } export { TabOwnerState, TabProps, TabPropsColorOverrides, TabPropsVariantOverrides, TabSlot, TabTypeMap };