import React from "react"; import { LiveSchemaEditorApi, LiveSchemaEditorProps } from "./guild"; import { PassedSchema } from "../../Models"; import type * as monaco from "monaco-editor"; export interface CodePaneOuterProps { readonly?: boolean; } export type CodePaneProps = Pick & { size: number | string; schema: PassedSchema; onChange: (v: string, passGraphValidation?: boolean) => void; onEditorMount?: (editor: monaco.editor.IStandaloneCodeEditor) => void; fullScreen?: boolean; disableCodePaneContextMenu?: boolean; } & CodePaneOuterProps; export type CodePaneApi = Pick; export declare const CodePane: React.ForwardRefExoticComponent & { size: number | string; schema: PassedSchema; onChange: (v: string, passGraphValidation?: boolean) => void; onEditorMount?: ((editor: monaco.editor.IStandaloneCodeEditor) => void) | undefined; fullScreen?: boolean | undefined; disableCodePaneContextMenu?: boolean | undefined; } & CodePaneOuterProps & React.RefAttributes>;