/** Core */
import { CoreComponent } from "cmf.core/src/core";
/** Bags */
import { ExecutionViewBag } from "./executionViewBag";
import { PageBag } from "../page/pageBag";
import { ResultMessageBag } from "../resultMessage/resultMessageBag";
/** Angular2 */
import * as ng from "@angular/core";
/**
* @whatItDoes
* The Execution view footer component.
* This component serves the footer for the execution actions which in this case is a single action "Close"
*
* ### Example
* To use the component, assume this HTML Template as an example:
*
* ```HTML
*
*
* ```
*
*/
export declare class ExecutionViewFooter extends CoreComponent implements ng.OnDestroy {
bag: ExecutionViewBag;
private pageBag;
/**
* Will inform the footer if the Execution View is invalid
*/
isInvalid: boolean;
/**
* Will inform the footer if the Execution View is view only
*/
isViewOnly: boolean;
/**
* Show comments button
*/
showComments: boolean;
/**
* Show save now button be shown?
*/
isSaveNowButtonShowed: boolean;
/**
* Should 'cancel' button be shown?
*/
isCancelButtonShown: boolean;
/**
* Will inform the foot if the Execution View should show a Close button instead of a Cancel.
*/
showCloseInsteadOfCancel: boolean;
/**
* If true, cancel will be the default action (primary button).
*/
cancelAsDefault: boolean;
/**
* If there are messages for popover show it even if they're not of error type
*/
showPopOverForAllMsgTypes: boolean;
private saveNow;
private perform;
private cancel;
private onCommentsOpen;
/**
* Stores all the messages that are required to show
*/
_resultMessages: Array;
/**
* The un-subscriber for the PageBag validation event
*/
private _unsubscriber;
/**
* If is in a small screen device (consider small devices as mobile)
*/
readonly isMobile: boolean;
/**
* @method constructor
*/
constructor(bag: ExecutionViewBag, pageBag: PageBag);
/**
* Saves the execution view without closing it
*
* @param {Event} [event] click event
*/
onSaveNow(event: Event): void;
/**
* Saves the execution view, closing it
*
* @param {Event} [event] click event
*/
onPerform(event: Event): void;
/**
* Cancels the execution view, closing it
*
* @param {Event} [event] click event
*/
onCancel(event: Event): void;
/**
* On comments open
*
* @param {Event} [event] click event
*/
openComments(event: Event): void;
ngOnDestroy(): void;
}