import * as i0 from '@angular/core'; import { OnInit, OnChanges, OnDestroy, Signal, SimpleChanges } from '@angular/core'; import { Record, Type } from '@tstdl/base/types'; import { FunctionComponent, Component } from 'preact'; declare class ReactComponent implements OnInit, OnChanges, OnDestroy { private readonly elementRef; private readonly changeDetector; private readonly injector; private readonly adaptSignal; private readonly wrapFunction; private propertiesEffectRef; component: FunctionComponent | Type>; properties: Properties | Signal; /** adapt angular signals to preact signals (readonly) */ adaptSignals: boolean; /** wrap functions in properties (1st level only) to run change detection afterwards */ wrapFunctions: boolean; get propertiesValue(): Properties; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; render(): void; private prepareProperties; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "tsl-react", never, { "component": { "alias": "component"; "required": false; }; "properties": { "alias": "properties"; "required": false; }; "adaptSignals": { "alias": "adaptSignals"; "required": false; }; "wrapFunctions": { "alias": "wrapFunctions"; "required": false; }; }, {}, never, never, true, never>; } export { ReactComponent };