/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { EventEmitter, OnDestroy } from '@angular/core'; import { VtsI18nService, VtsModalI18nInterface } from '@ui-vts-kit/ng-vts/i18n'; import { VtsModalRef } from './modal-ref'; import { ModalButtonOptions, ModalOptions } from './modal-types'; import * as i0 from "@angular/core"; export declare class VtsModalFooterComponent implements OnDestroy { private i18n; config: ModalOptions; buttonsFooter: boolean; buttons: ModalButtonOptions[]; locale: VtsModalI18nInterface; readonly cancelTriggered: EventEmitter; readonly okTriggered: EventEmitter; modalRef: VtsModalRef; private destroy$; constructor(i18n: VtsI18nService, config: ModalOptions); onCancel(): void; onOk(): void; /** * Returns the value of the specified key. * If it is a function, run and return the return value of the function. */ getButtonCallableProp(options: ModalButtonOptions, prop: keyof ModalButtonOptions): boolean; /** * Run function based on the type and set its `loading` prop if needed. */ onButtonClick(options: ModalButtonOptions): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }