export interface EditorProps { value?: string | (() => string); class?: string; onchange?: (val: string) => void; } export const Editor: (props: EditorProps) => HTMLElement;