import { Actions } from '@ngrx/effects';
import { Store } from '@ngrx/store';
import { DynamicContentService } from '@o3r/dynamic-content';
import { LocalizationService } from '@o3r/localization';
import { RulesEngineRunnerService } from '@o3r/rules-engine';
import { Observable } from 'rxjs';
import { type PlaceholderRequestStore } from '@o3r/components';
import * as i0 from "@angular/core";
/**
 * Service to handle async PlaceholderTemplate actions
 */
export declare class PlaceholderTemplateResponseEffect {
    private readonly actions$;
    private readonly store;
    private readonly rulesEngineService;
    private readonly dynamicContentService;
    private readonly translationService;
    /**
     * Set the PlaceholderRequest entity with the reply content, dispatch failPlaceholderRequestEntity if it catches a failure
     * Handles the rendering of the HTML content from the template and creates the combine latest from facts list if needed
     * Disables unused templates refresh if used is false in the store
     */
    setPlaceholderRequestEntityFromUrl$: Observable<(import("@o3r/core").AsyncRequest & {
        id: string;
    } & import("@ngrx/store").Action<"[PlaceholderRequest] cancel request">) | (import("@o3r/core").FailAsyncStoreItemEntitiesActionPayload<any> & import("@ngrx/store").Action<"[PlaceholderRequest] fail entities">) | (import("@o3r/core").UpdateAsyncStoreItemEntityActionPayloadWithId<import("@o3r/components").PlaceholderRequestModel> & import("@ngrx/store").Action<"[PlaceholderRequest] update entity">)> & import("@ngrx/effects").CreateEffectMetadata;
    constructor(actions$: Actions, store: Store<PlaceholderRequestStore>, rulesEngineService: RulesEngineRunnerService | null, dynamicContentService: DynamicContentService | null, translationService: LocalizationService | null);
    /**
     * Renders the html template, replacing facts and urls and localizationKeys
     * @param template
     * @param vars
     * @param facts
     */
    private getRenderedHTML$;
    static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderTemplateResponseEffect, [null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<PlaceholderTemplateResponseEffect>;
}
//# sourceMappingURL=placeholder.rules-engine.effect.d.ts.map