import { FieldType } from '@ngx-formly/core'; import { FormlyBoxTemplates } from '@xmagic/nz-formly/common'; import * as i0 from "@angular/core"; /** * 引用模板,支持HTML,TemplateRef对象,或者NamedTemplate * @example * * 用法1: 使用NamedTemplate(推荐) * * html * ```html * * * * ``` * * 配置 * ```js * { * type: 'ref-template', * props: { * refName: 'test' * } * } * ``` * * 用法2:TemplateRef对象 * ```html * * ``` * * 配置 * @viewChild('test2') test2: TemplateRef<{}>; * * ```js * { * type: 'ref-template', * props: { * ref: this.test2 * } * } * ``` * * 用法3: 使用html * * 配置 * ```js * { * type: 'ref-template', * props: { * ref: '
test text
' * } * } * ``` */ export declare class FormlyFieldRefTemplateComponent extends FieldType { fieldTemplates: FormlyBoxTemplates; constructor(fieldTemplates: FormlyBoxTemplates); get ref(): import("@angular/core").TemplateRef | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }