import {VNode} from 'vue'; import {UIComponent} from './component'; export interface Action { text: string | VNode; onPress?: (...args: any[]) => void | Promise; style?: T | string; } export declare class ModalComponent extends UIComponent { public static alert: ( title: string | VNode, message: string | VNode, actions: Array<{ text: string }>, platform?: string ) => Promise; public static confirm: (title: (string | VNode), message: (string | VNode), actions?: { text: string }[], platform?: string) => Promise; public static operation: ( actions: Array>, platform?: string ) => { close: () => void }; public static prompt: (title: (string | VNode), message: (string | VNode), callbackOrActions?: Array<{ text: string, style?: object }>, type?: string, defaultValue?: string, placeholders?: string[], platform?: string) => Promise; }