import { OverridableStringUnion, OverrideProps } from '@mui/types';
import * as React from 'react';
import { ColorPaletteProp, ApplyColorInversion } from '../styles/types/colorSystem.js';
import { FontSize } from '../styles/types/typography.js';
import { SxProps } from '../styles/types/theme.js';
import { SvgIconClasses } from './svgIconClasses.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/variants.js';
declare type SvgIconSlot = "root";
interface SvgIconPropsSizeOverrides {
}
interface SvgIconPropsColorOverrides {
}
interface SvgIconTypeMap
{
props: P & {
/**
* Node passed into the SVG element.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial;
/**
* The color of the component. It supports those theme colors that make sense for this component.
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
* @default 'inherit'
*/
color?: OverridableStringUnion<"inherit" | ColorPaletteProp, SvgIconPropsSizeOverrides>;
/**
* The fontSize applied to the icon. Defaults to 1rem, but can be configure to inherit font size.
* @default 'xl'
*/
fontSize?: OverridableStringUnion<"inherit" | keyof FontSize, SvgIconPropsSizeOverrides>;
/**
* Applies a color attribute to the SVG element.
*/
htmlColor?: string;
/**
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
* prop will be ignored.
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
* `component`'s viewBox to the root node.
* @default false
*/
inheritViewBox?: boolean;
/**
* The shape-rendering attribute. The behavior of the different options is described on the
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
* If you are having issues with blurry icons you should investigate this prop.
*/
shapeRendering?: string;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps;
/**
* Provides a human-readable title for the element that contains it.
* https://www.w3.org/TR/SVG-access/#Equivalent
*/
titleAccess?: string;
/**
* Allows you to redefine what the coordinates without units mean inside an SVG element.
* For example, if the SVG element is 500 (width) by 200 (height),
* and you pass viewBox="0 0 50 20",
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
* to bottom right (50,20) and each unit will be worth 10px.
* @default '0 0 24 24'
*/
viewBox?: string;
};
defaultComponent: D;
}
declare type SvgIconProps = OverrideProps, D>;
interface SvgIconOwnerState extends ApplyColorInversion {
/**
* The `size` specified explicitly on the instance.
*/
instanceFontSize: SvgIconProps["fontSize"];
}
export { SvgIconOwnerState, SvgIconProps, SvgIconPropsColorOverrides, SvgIconPropsSizeOverrides, SvgIconSlot, SvgIconTypeMap };