import React__default from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { ColorPaletteProp } from '../styles/types/colorSystem.js'; import { VariantProp } from '../styles/types/variants.js'; import { TypographySystem } from '../styles/types/typography.js'; import { SystemProps, 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'; declare type LinkSlot = "root" | "startDecorator" | "endDecorator"; interface LinkPropsVariantOverrides { } interface LinkPropsColorOverrides { } interface ComponentsProps { root?: SlotComponentProps<"a", { sx?: SxProps; }, LinkOwnerState>; startDecorator?: SlotComponentProps<"span", { sx?: SxProps; }, LinkOwnerState>; endDecorator?: SlotComponentProps<"span", { sx?: SxProps; }, LinkOwnerState>; } interface LinkTypeMap

{ props: P & Omit & { /** * The content of the component. */ children?: React__default.ReactNode; /** * The color of the link. * @default 'primary' */ color?: OverridableStringUnion; /** * The props used for each slot inside the component. * @default {} */ componentsProps?: ComponentsProps; /** * If `true`, the component is disabled. * @default false */ disabled?: boolean; /** * Element placed after the children. */ endDecorator?: React__default.ReactNode; /** * Applies the theme typography styles. * @default 'body1' */ level?: keyof TypographySystem | "inherit"; /** * If `true`, the ::after psuedo element is added to cover the area of interaction. * The parent of the overlay Link should have `relative` CSS position. * @default false */ overlay?: boolean; /** * The system color. */ textColor?: SystemProps["color"]; /** * Element placed before the children. */ startDecorator?: React__default.ReactNode; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * Controls when the link should have an underline. * @default 'hover' */ underline?: "none" | "hover" | "always"; /** * Applies the theme link styles. * @default 'plain' */ variant?: OverridableStringUnion; }; defaultComponent: D; } declare type LinkProps = OverrideProps, D>; interface LinkOwnerState extends LinkProps { /** * If `true`, the element's focus is visible. */ focusVisible?: boolean; /** * If `true`, the element is rendered by a Typography component. */ nested: boolean; } export { LinkOwnerState, LinkProps, LinkPropsColorOverrides, LinkPropsVariantOverrides, LinkSlot, LinkTypeMap };