import type { FC, HTMLAttributes, PropsWithChildren, Ref } from 'react'; import { type VariantProps } from 'class-variance-authority'; import type { TestableProps } from '../../utils/testId'; declare const codeVariants: (props?: ({ size?: "s" | "xs" | "m" | "l" | null | undefined; weight?: "bold" | "light" | "regular" | "medium" | null | undefined; color?: "primary" | "secondary" | "destructive" | null | undefined; italic?: boolean | null | undefined; truncate?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type CodeNativeProps = HTMLAttributes; type CodeVariantProps = VariantProps; interface CodeBaseProps { asChild?: boolean; lineClamp?: number; ref?: Ref; } export type CodeProps = CodeNativeProps & CodeVariantProps & CodeBaseProps & TestableProps; export declare const Code: FC>; export {};