import { type ReactElement } from 'react'; import type { MappedOmit } from '@contentful/f36-core'; import { type IconProps } from '../Icon.js'; import type { GeneratedIconComponent } from './generateComponentWithVariants'; export type GeneratedIconProps = MappedOmit & { children?: never; isActive?: boolean; }; type GenerateIconComponentParameters = { /** * Icon name is used as the generated icon's component display name */ name?: string; /** * The SVG path(s) to render in the icon wrapper */ path: ReactElement; /** * A collection of default props to set on the generated icon */ props?: GeneratedIconProps; /** * Custom SVG viewBox attribute to use for the generated icon */ viewBox?: IconProps['viewBox']; }; export declare function generateIconComponent({ name, path, props: defaultProps, viewBox, }: GenerateIconComponentParameters): GeneratedIconComponent; export {};