import { Component, CSSProperties } from 'vue'; import { ColorScheme } from '../../declaration'; import { ModalOptions } from './../modal-plugin'; import { VsButtonStyleSet, VsModalNodeStyleSet } from '../../components'; export interface VsAlertStyleSet extends VsModalNodeStyleSet { $buttons?: CSSProperties; $okButton?: Omit; } export interface AlertModalOptions extends Omit { styleSet?: VsAlertStyleSet; colorScheme?: ColorScheme; okText?: string; } export interface AlertPlugin { open(content: string, options?: Omit): Promise; open(content: Component, options?: AlertModalOptions): Promise; }