import React from "react"; import type { AlertContentProps, ConfirmContentProps, PromptContentProps } from "./DialogContent"; import type { Activator } from "../../Activator"; import type { MarkdownRef } from "../../forms/FormDefinition"; import type { UIService } from "../../ui/UIService"; export declare class DialogProvider { static type: string; AlertContent: (props: AlertContentProps) => React.JSX.Element; ConfirmContent: (props: ConfirmContentProps) => React.JSX.Element; PromptContent: (props: PromptContentProps) => React.JSX.Element; uiService: UIService | undefined; protected _getText: (key: string) => string; constructor(getText: (key: string) => string); static create(getText: (key: string) => string): DialogProvider; static register(activator: Activator): void; showAlert(text: string | MarkdownRef, title?: string): Promise; showConfirm(text: string | MarkdownRef, title?: string): Promise; showPrompt(description: string | MarkdownRef, defaultText?: string, title?: string): Promise; }