import { DeepObject, Field, FieldConfig, SelectiveEditor, TemplateResult, Types } from '@blinkk/selective-edit'; import { LiveEditorGlobalConfig } from '../editor'; import Quill from 'quill'; export interface HtmlFieldConfig extends FieldConfig { /** * Override the default media upload provider to determine if the upload * should be remote. */ remote?: boolean; /** * Size of the hrml field. Allows for the field to be taller * or shorter. */ size: HtmlFieldSize | string; } /** * Sizes available for the markdown field size. */ export declare enum HtmlFieldSize { Small = "small", Medium = "medium", Large = "large" } export declare class HtmlField extends Field { htmlEditor?: Quill; config: HtmlFieldConfig; globalConfig: LiveEditorGlobalConfig; constructor(types: Types, config: HtmlFieldConfig, globalConfig: LiveEditorGlobalConfig, fieldType?: string); createEditorIfMissing(): void; /** * Template for rendering the html container. * * @param editor Selective editor used to render the template. * @param data Data provided to render the template. */ templateInput(editor: SelectiveEditor, data: DeepObject): TemplateResult; }