import { ComponentPropsWithoutRef } from "react"; //#region src/runtime/props.d.ts interface CommonAssetProps { /** * Convenience sizing: sets the rendered width. Height follows from the * illustration's intrinsic aspect ratio. Accepts a number (px) or any CSS length. */ size?: number | string; /** * Accessible label. When provided the image is announced to assistive tech * (via an SVG ``); when omitted the image is treated as decorative. */ title?: string; } /** Props for an inline-SVG asset component (renders an `<svg>`). */ type AssetSvgProps = Omit<ComponentPropsWithoutRef<"svg">, "title"> & CommonAssetProps; /** The common prop surface; accepts `size`, `title`, `className`, `style`, … */ type AssetProps = AssetSvgProps; //#endregion export { AssetProps, AssetSvgProps };