import { ComponentProps, ElementType, SVGProps } from "react"; import { InternalProps, OmitInternalProps, SlotProps } from "../../shared"; import { StyledSystemProps } from "../../styling"; export interface InnerIconProps extends StyledSystemProps, SlotProps, Omit, Omit, keyof StyledSystemProps> { /** * Whether or not the icon should look disabled. */ disabled?: boolean; /** * An icon as a component. */ src: ElementType; } export declare const InnerIcon: (props: InnerIconProps) => JSX.Element; /** * An icon component allow you to render a custom icon. * * [Documentation](https://orbit.sharegate.design/?path=/docs/icon--default-story) */ export declare const Icon: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type IconProps = ComponentProps; export declare type CreatedIconProps = OmitInternalProps; export declare function createIcon(src: ElementType): import("react").ForwardRefExoticComponent & import("react").RefAttributes>;