import { PipeTransform } from '@angular/core'; import { DmCmpsRunOncePipeService } from './run-once-pipe.service'; import * as i0 from "@angular/core"; export declare class DmCmpsRunOncePipe implements PipeTransform { private runOncePipeService; constructor(runOncePipeService: DmCmpsRunOncePipeService); /** * @explain - Runs the specified function only once, simplifying function calls in HTML. * - This prevents redundant computations by caching results. * @param func - The function to be executed only once. * @param args - The arguments to be passed to the `func` function. * @result The result of executing the `func` function, or the cached result if already executed. * ### Example of Usage * ```html * *
* * * * ``` */ transform(func: (...args: any[]) => any, ...args: any[]): any; static ɵfac: i0.ɵɵFactoryDeclaration