import { FC, Dispatch, SetStateAction, ReactNode } from 'react';
import 'prismjs/components/prism-markup';
import 'prismjs/components/prism-clike';
import 'prismjs/components/prism-javascript';
import 'prismjs/components/prism-typescript';
import 'prismjs/components/prism-jsx';
import 'prismjs/components/prism-jsx.min';
import 'prismjs/components/prism-tsx.min';
import 'prismjs/components/prism-json';
import 'prismjs/components/prism-css';
import './syntax.css';
import { Style } from 'inlines';
import { ColorBackgroundColors } from '../../varsTypes';
export type CodeProps = {
    value?: string;
    defaultValue?: string;
    onChange?: ((value: string) => void) | Dispatch<SetStateAction<string>>;
    style?: Style;
    header?: ReactNode;
    color?: ColorBackgroundColors;
    copy?: boolean;
    language?: 'js' | 'html' | 'css' | 'json' | 'markup' | 'clike' | string;
    props?: any;
};
export declare const Code: FC<CodeProps>;
