import { IconsWithTypes } from './data'; import { IconKinds, Icons, IconTypes } from './types'; /** * Gets the SVG CDN url of an icon. * * ```ts * getIconUrl({ set: 'bytesize', icon: 'heart' }) * getIconUrl({ set: 'boxicons', icon: 'alarm', type: 'solid' }) * getIconUrl({ set: 'flags', icon: 'gr', kind: '4x3' }) * ``` * * @param props * @param props.set Icon set * @param props.icon Icon name * @param props.type Icon type - Most of the time an entirely different set of icons * @param props.kind Icon kind - These are variations of the same icon * @returns The SVG CDN url */ export declare const getIconUrl:
(props: { set: P; } & (P extends keyof IconKinds ? { icon: Icons[P]; kind: IconKinds[P & keyof IconKinds]; } : P extends keyof IconTypes ? { icon: IconsWithTypes[P & keyof IconTypes][T & keyof IconsWithTypes[P & keyof IconTypes]]; type: T; } : { icon: Icons[P & keyof Icons]; })) => string; export declare const propsSatisfyTemplate: (props: any) => boolean;