UNPKG

872 BTypeScriptView Raw
1import { App } from '../app/app';
2import { Config } from '../../config/config';
3import { ModalOptions } from './modal-options';
4import { NavOptions } from '../../navigation/nav-util';
5import { ViewController } from '../../navigation/view-controller';
6/**
7 * @hidden
8 */
9export declare class ModalImpl extends ViewController {
10 private _app;
11 private _enterAnimation;
12 private _leaveAnimation;
13 constructor(app: App, component: any, data: any, opts: ModalOptions, config: Config);
14 /**
15 * @hidden
16 */
17 getTransitionName(direction: string): string;
18 /**
19 * Present the action sheet instance.
20 *
21 * @param {NavOptions} [navOptions={}] Nav options to go with this transition.
22 * @returns {Promise} Returns a promise which is resolved when the transition has completed.
23 */
24 present(navOptions?: NavOptions): Promise<any>;
25}