import { OverlayController, ToastOptions } from '../../interface'; export declare class ToastController implements OverlayController { private toasts; doc: Document; protected toastWillPresent(ev: any): void; protected toastWillDismiss(ev: any): void; protected escapeKeyUp(): void; /** * Create a toast overlay with toast options. */ create(opts?: ToastOptions): Promise; /** * Dismiss the open toast overlay. */ dismiss(data?: any, role?: string, toastId?: number): Promise; /** * Get the most recently opened toast overlay. */ getTop(): HTMLIonToastElement; }