/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ export interface CodeEditorProps { id?: string; /** Initial document. External updates sync only while the editor is unfocused. */ value: string; /** Highlight language (canonical name or alias). Unknown → plain text. */ language?: string; readOnly?: boolean; onChange?: (value: string) => void; ariaInvalid?: boolean; ariaDescribedBy?: string; } declare const CodeEditor: ({ id, value, language, readOnly, onChange, ariaInvalid, ariaDescribedBy, }: CodeEditorProps) => import("react").JSX.Element; export default CodeEditor;