import { BridgeContext } from "../runtime/global";
import { Gravity } from "../util/gravity";
export declare function modal(context: BridgeContext): {
toast: (msg: string, gravity?: Gravity) => void;
alert: (arg: string | {
title: string;
msg: string;
okLabel?: string;
}) => Promise<any>;
confirm: (arg: string | {
cancelLabel?: string;
prompt: (arg: {
title?: string;
msg?: string;
text?: string;
defaultText?: string;
}) => Promise<string>;
};