import * as React from 'react';
import { SxProp } from '../../system';
import { ColorScales } from '../../theme';
import { AsProp, ChildrenProp, HTMLAttributes, LiteralUnion } from '../../types';
export declare type CodeColors = ColorScales;
export declare type CodeVariants = 'outline' | 'solid' | 'subtle';
export interface CodeProps extends HTMLAttributes, AsProp, ChildrenProp, SxProp {
    /** Color of the code element. */
    color?: LiteralUnion<CodeColors>;
    /** Variant of the code element. */
    variant?: LiteralUnion<CodeVariants>;
}
export declare const Code: React.ForwardRefExoticComponent<CodeProps & React.RefAttributes<HTMLElement>>;
