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