import { ChangeDetectorRef, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; import { Method } from '@rxap/pattern'; import * as i0 from "@angular/core"; export interface IfTruthyDirectiveTemplateContext { $implicit: Data; } export declare class IfTruthyDirective implements OnChanges { private readonly templateRef; private readonly viewContainerRef; private readonly cdr; method: Method; parameters: Parameters; trackBy: (data: Data) => any; private _last?; constructor(templateRef: TemplateRef>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef); /** * Asserts the correct type of the context for the template that `NgForOf` will render. * * The presence of this method is a signal to the Ivy template type-check compiler that the * `NgForOf` structural directive renders its template with a specific context type. */ static ngTemplateContextGuard(dir: IfTruthyDirective, ctx: any): ctx is IfTruthyDirectiveTemplateContext; ngOnChanges(changes: SimpleChanges): void; protected execute(): Promise; protected hasChanged(current: Data): boolean; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[rxapIfTruthy]", never, { "method": { "alias": "rxapIfTruthy"; "required": false; }; "parameters": { "alias": "rxapIfTruthyParameters"; "required": false; }; "trackBy": { "alias": "rxapIfTruthyTrackBy"; "required": false; }; }, {}, never, never, true, never>; }