import { EventEmitter, ViewContainerRef, OnInit, OnDestroy, OnChanges, SimpleChanges, Type } from '@angular/core'; import { IPbListDocumentsComponent } from './pb-components.tokens'; import { SectionContent } from '../../types/external-types/sectionContent'; import * as i0 from "@angular/core"; /** * Directive that dynamically creates a list-documents component. * This allows for component override via the PB_LIST_DOCUMENTS_COMPONENT token. * * @example * ```html * * * ``` */ export declare class PbDynamicListDocumentsDirective implements OnInit, OnDestroy, OnChanges { private viewContainerRef; /** * The component type to instantiate */ component: Type; /** * The page structure to pass to the component */ pageStructure: SectionContent; /** * Event emitted when the component requests an update */ onUpdate: EventEmitter; private componentRef; private updateSubscription; constructor(viewContainerRef: ViewContainerRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private createComponent; private destroyComponent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }