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; //# sourceMappingURL=ui.d.ts.map