import type { Extension } from '@codemirror/state'; import type { JSONSchema7 } from 'json-schema'; export declare function isEditAttempt(e: KeyboardEvent): boolean; export declare function createReadOnlyTooltipExtension(): Extension; export interface EditorProps { value: string; onChange?: (value: string) => void; readOnly?: boolean; language?: 'json' | { name: 'json'; schema?: JSONSchema7; }; height?: string; width?: string; } export declare const Editor: ({ value, onChange, readOnly, language, height, width, }: EditorProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Editor.component.d.ts.map