import { IAction, Action } from './base.mjs';

/**
 * When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.
 */
interface IOpenUrlAction extends IAction {
    type: 'Action.OpenUrl';
    /**
     * The URL to open.
     */
    url: string;
}
type OpenUrlOptions = Omit<IOpenUrlAction, 'type' | 'url'>;
/**
 * When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.
 */
declare class OpenUrlAction extends Action implements IOpenUrlAction {
    type: 'Action.OpenUrl';
    /**
     * The URL to open.
     */
    url: string;
    constructor(url: string, options?: OpenUrlOptions);
    static from(options: Omit<IOpenUrlAction, 'type'>): OpenUrlAction;
    withUrl(value: string): this;
}

export { type IOpenUrlAction, OpenUrlAction, type OpenUrlOptions };
