import { DetailedHTMLProps, LabelHTMLAttributes } from 'react';
import { IAceEditorProps } from 'react-ace';
interface CodeSchema {
    autoFocus: boolean;
    description: string;
    disabled: boolean;
    options: IAceEditorProps & {
        language?: string;
    };
    readOnly: boolean;
    required: boolean;
    title: string;
    labelProps: DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>;
    type: string;
}
export interface CodeProps {
    id?: string;
    isValid?: boolean;
    errorMessage?: string;
    onChange: (event: Event, payload: {
        schema: Partial<CodeSchema>;
        value: string | number;
    }) => void;
    onFinish: (event: Event, payload: {
        schema: Partial<CodeSchema>;
    }) => void;
    schema?: Partial<CodeSchema>;
    value?: string | number;
    valueIsUpdating?: boolean;
    showInstructions?: boolean;
}
export default function Code({ id, isValid, errorMessage, schema, value, valueIsUpdating, onChange, onFinish, showInstructions, }: CodeProps): import("react/jsx-runtime").JSX.Element;
export {};
