import type { IconKeys } from './icons'; type IconWithSize = { height?: never; size: number; width?: never; }; type IconWithWidthAndHeight = { height: number; size?: never; width: number; }; export type CreateIconProps = { title?: string; borderWidth?: number; color?: string; testID?: string; } & (IconWithSize | IconWithWidthAndHeight); type CreateIconOptions = { viewBox: string; path: string; icon: IconKeys; displayName: string; }; /** * Create an Icon component with a custom path. * * @param options - The options to create an icon * @returns */ declare const createIcon: (options: CreateIconOptions) => { ({ size, color, testID, title, borderWidth, ...props }: CreateIconProps): JSX.Element; displayName: string; }; export default createIcon;