import { CodeEditorProps } from '@cloudscape-design/components'; import { Control, FieldPath, FieldPathValue, FieldValues, RegisterOptions } from 'react-hook-form'; export interface CCodeEditorProps = FieldPath> extends Omit { name: TName; control?: Control; defaultValue?: FieldPathValue; rules?: Omit, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled">; shouldUnregister?: boolean; } declare const CCodeEditor: = FieldPath>({ name, control, onChange, defaultValue, rules, shouldUnregister, ...props }: CCodeEditorProps) => import('react').JSX.Element; export default CCodeEditor;