/** * Copyright (c) 2024-present, NDLA. * * This source code is licensed under the GPLv3 license found in the * LICENSE file in the root directory of this source tree. * */ import { type RecipeVariantProps } from "@ndla/styled-system/css"; import type { StyledProps } from "@ndla/styled-system/types"; import { type ComponentPropsWithRef } from "react"; export declare const iconRecipe: import("@ndla/styled-system/types").RecipeRuntimeFn<{ size: { small: { width: "small"; height: "small"; }; medium: { width: "medium"; height: "medium"; }; large: { width: "xxlarge"; height: "xxlarge"; }; }; }>; export type IconVariantProps = RecipeVariantProps; interface BaseIconProps extends ComponentPropsWithRef<"svg"> { title?: string; description?: string; } export type Props = BaseIconProps & IconVariantProps & StyledProps; export declare const Icon: ({ children, size, title, description, css: cssProp, "aria-hidden": ariaHidden, ...props }: Props) => import("react/jsx-runtime").JSX.Element; export {};