import { FC, ReactNode, Ref } from 'react'; import { TextProps } from '../Text'; import { TextSize } from '../Text/Text.tsx'; export interface CodeProps extends TextProps { /** * The content inside the `` element. * Can be a single node or an array of nodes. * Usually used for inline code or short code snippets. */ children?: ReactNode | ReactNode[]; /** * Optional custom CSS class applied to the `` element. * Useful for extending or overriding typographic styles. */ className?: string; /** * Defines the font size of the code element. * Inherits from the typography system’s `TextSize` type. */ size?: TextSize; /** * Ref forwarded to the native `` HTML element. * Enables direct access for focus, measurement, or custom logic. */ ref?: Ref; } /** Code is a UI component used to display snippets of code in a readable, monospaced font. */ export declare const Code: FC;