import * as React from 'react'; import { BubbleOptions, DocSpec, Xml } from './types'; type DefaultProps = { mode: 'laic' | 'nerd'; }; type Props = { docSpec: DocSpec; onChange?: () => void; ref: React.RefObject; xml: string; } & Partial; interface State { bubble: BubbleOptions; xml?: Xml; } export default class XmlEditor extends React.Component { static defaultProps: DefaultProps; constructor(props: Props & DefaultProps); componentDidMount(): void; getXml(): Xml | undefined; private onClick; private setXml; private showBubble; render(): React.ReactNode; private getActions; private getBubble; private getRootNode; } export {};