import { Component } from "./component"; import History from "quill/modules/history"; import Emitter from "quill/core/emitter"; import { ComponentCreateOptions, ComponentOptions, ComponentUpdateOptions } from "./type"; export interface ComponentConstructor { boundary?: Element; format: string; formatVal?: string; options: ComponentOptions[]; history?: History; emitter?: Emitter; new (): Component; create(container: HTMLElement, options: ComponentCreateOptions): void; update(data: ComponentUpdateOptions): void; } export declare class Registry { imports: Record; static isValid(component: any): boolean; register(format: string, component: ComponentConstructor): any; query(format: string): Component | undefined; }