import type Editor from "./editor.js";
import type { Attribute, TemplateDefinition, TemplateGroup, Markup, Variant } from "../types.js";
export default class Template {
    templates: Markup;
    name: string;
    cssClass?: string;
    group?: TemplateGroup;
    groups?: TemplateGroup[];
    variants?: Variant[];
    defaultVariantName?: string;
    attributes?: Attribute[];
    constructor(descriptor: Template | TemplateDefinition);
    createElement: (templateCode: string, editor?: Editor, variant?: string) => HTMLElement;
    getVariant: (block: HTMLElement) => string | undefined;
    getAttributes: (block: HTMLElement) => {} | undefined;
}
//# sourceMappingURL=template.d.ts.map