import { AfterViewInit, ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
import { ValtimoModalService } from '../../services/valtimo-modal.service';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class ModalComponent implements AfterViewInit, OnInit, OnDestroy {
    private readonly modalService;
    elementId: string;
    title: string;
    subtitle: string;
    templateBelowSubtitle: TemplateRef<any>;
    showFooter: boolean;
    scrollModal: ElementRef<HTMLDivElement>;
    readonly modalShowing$: BehaviorSubject<boolean>;
    private scrollSubscription;
    private observer;
    constructor(modalService: ValtimoModalService);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    show(): void;
    hide(): void;
    ngOnDestroy(): void;
    private openScrollSubscription;
    private watchForClassChanges;
    static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "valtimo-modal", never, { "elementId": { "alias": "elementId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "templateBelowSubtitle": { "alias": "templateBelowSubtitle"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; }, {}, never, ["[body]", "[footer]"], false, never>;
}
//# sourceMappingURL=modal.component.d.ts.map