import { OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core'; import { BaoModal } from './modal'; import { BaoModalRef } from './modal-ref'; import * as i0 from "@angular/core"; /** * Button that will close the current dialog. */ export declare class BaoModalClose implements OnInit, OnChanges { modalRef: BaoModalRef | null; private _elementRef; private _dialog; /** Screenreader label for the button. */ ariaLabel: string; /** Default to "button" to prevents accidental form submits. */ type: 'submit' | 'button' | 'reset'; /** Dialog close input. */ dialogResult: unknown; _baoModalClose: unknown; constructor(modalRef: BaoModalRef | null, _elementRef: ElementRef, _dialog: BaoModal); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; _onButtonClick(event: MouseEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }