/** * Defines the Block component * Author: Callan Heard */ import { OnDestroy, ViewContainerRef, ComponentFactoryResolver } from '@angular/core'; import { Block } from '../types/cms.type'; import * as i0 from "@angular/core"; /** Recursively render a Block and any nested content */ export declare class BlockComponent implements OnDestroy { private ComponentFactoryResolver; /** Reference to current component ViewContainerRef */ container: ViewContainerRef; /** Block to render */ set config(config_: Block); /** Inject ComponentFactoryResolver */ constructor(ComponentFactoryResolver: ComponentFactoryResolver); /** Validate block-like objects */ static valid(block_: { type: string; [key: string]: any; }): boolean; /** Force container to clear on component destroy */ ngOnDestroy(): void; /** Render Block content */ render(config_: Block): void; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; } //# sourceMappingURL=block.component.d.ts.map