import * as React from "react"; import type { MergeElementProps } from "../typings"; interface CodeBaseProps { /** The content of the component. */ children?: React.ReactNode; /** * Append to the classNames applied to the component so you can override or * extend the styles. */ className?: string; /** * Determine whether the component is code-block or not. * * If `true`, the component will be rendered as a `
` element.
     * otherwise, the component will be rendered as a `` element.
     * @default false
     */
    codeBlock?: boolean;
}
export declare type CodeProps = MergeElementProps<"pre", CodeBaseProps>;
declare type Component = {
    (props: CodeProps): React.ReactElement | null;
    propTypes?: React.WeakValidationMap | undefined;
    displayName?: string | undefined;
};
declare const Code: Component;
export default Code;