///
import type { IconName } from "./iconNames";
import type { SVGIconProps } from "./svgIconProps";
export type SVGIconContainerProps = Omit, "children"> & {
/**
* Icon name.
*/
iconName: IconName;
/**
* Icon contents, loaded via `IconLoader` and specified as `` elements.
*/
children: React.JSX.Element | React.JSX.Element[];
};
/**
* Generic icon container component type. This is essentially a type hack required to make forwardRef work with generic
* components. Note that this slows down TypeScript compilation, but it's better than the alternative of globally
* augmenting "@types/react".
*
* @see https://stackoverflow.com/a/73795494/7406866
*/
export interface SVGIconContainerComponent extends React.FC> {
(props: SVGIconContainerProps): React.ReactNode;
}
export declare const SVGIconContainer: SVGIconContainerComponent;