export interface PluginDialogs { /** Opens one of this plugin's registered dialogs. `props` reaches the component as props. */ open: (dialogId: string, props?: Record) => void; /** Closes the topmost instance of `dialogId`, or of any of this plugin's dialogs. */ close: (dialogId?: string) => void; } /** * Opens and closes this plugin's dialogs from any of its surfaces. The id comes from the * scope, so a plugin can only address its own. */ export declare function usePluginDialogs(): PluginDialogs; /** The host's toasts, so a plugin's confirmations look like core's own. */ export declare const toast: { success: (message: string) => void; error: (message: string) => void; info: (message: string) => void; }; //# sourceMappingURL=ui.d.ts.map