import { NavOptions } from './nav-util'; export interface Overlay { present(opts?: NavOptions): Promise; dismiss(data?: any, role?: string, navOptions?: NavOptions): Promise; onDidDismiss(callback: Function): void; onWillDismiss(callback: Function): void; }