import { HTMLAttributes } from 'react';
import { TextProps } from '../../atoms';
type Language = 'plain' | 'html' | 'markdown' | 'md' | 'css' | 'javascript' | 'js' | 'jsx' | 'typescript' | 'ts' | 'tsx' | 'json' | 'regex' | 'graphql' | 'sql' | 'svg' | 'xml' | 'yaml' | 'yml' | 'mathml' | 'swift' | 'c' | 'cpp' | 'go' | 'python' | 'rust' | 'solidity' | 'bash' | 'sh';
export type CodeProps = {
    /** Component variant. One of `block` or `inline`. */
    variant: 'block' | 'inline';
    /** Code to render. */
    children: string;
    /** Language to use for syntax highlighting. Defaults to `plain` (no syntax highlighting). */
    language?: Language;
    /** Font size. Inherited by default. */
    size?: TextProps['size'];
} & Omit<HTMLAttributes<HTMLElement>, 'children'>;
/**
 * Renders a code block (with `Code.Block`) or an inline string of code (with `Code.Inline`).
 * Syntax highlighting is applied if a `language` is specified. The font size is inherited by default,
 * but can be set explicitly with the `size` prop.
 */
export declare const Code: import('react').ForwardRefExoticComponent<{
    /** Component variant. One of `block` or `inline`. */
    variant: "block" | "inline";
    /** Code to render. */
    children: string;
    /** Language to use for syntax highlighting. Defaults to `plain` (no syntax highlighting). */
    language?: Language;
    /** Font size. Inherited by default. */
    size?: TextProps["size"];
} & Omit<HTMLAttributes<HTMLElement>, "children"> & import('react').RefAttributes<HTMLElement>> & {
    Block: import('react').ForwardRefExoticComponent<Omit<CodeProps, "variant"> & import('react').RefAttributes<HTMLElement>>;
    Inline: import('react').ForwardRefExoticComponent<Omit<CodeProps, "variant"> & import('react').RefAttributes<HTMLElement>>;
};
export {};
//# sourceMappingURL=Code.d.ts.map