import { ViewProps } from "@tarojs/components/types/View"; import { CSSProperties, ReactNode } from "react"; import { IconColor, IconProps, IconSize } from "../shared"; interface VanIconProps extends ViewProps { className?: string; style?: CSSProperties; name?: string; size?: IconSize | number | string; color?: IconColor | string; children?: ReactNode; } export default function VanIcon(props: VanIconProps): JSX.Element; export declare function createVanIconComponent(name: string): (props: IconProps) => JSX.Element; export {};