import { EventEmitter, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ModalComponent implements OnInit {
    /**
    * Modal title that appears in the header.
    */
    title?: string;
    /**
     * Optional modal content. If not provided, content can be projected via ng-content.
     */
    content?: string;
    /**
     * Event emitted when the modal should be closed.
     */
    closeOverlay: EventEmitter<void>;
    constructor();
    ngOnInit(): void;
    /**
     * Called when the close button is clicked.
     */
    onClose(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "nju-modal", never, { "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "closeOverlay": "closeOverlay"; }, never, never, true, never>;
}
