import { PluginInfo } from '../../../plugin/pluginsSlice';
/**
 * Returns a function that deletes a plugin via the backend API, dispatches
 * a clusterAction (which surfaces the start/success/error snackbars), and
 * navigates back to the plugin list before reloading.
 *
 * The returned promise resolves on success and rejects when the deletion
 * fails, so callers can roll back optimistic UI updates if needed.
 */
export declare function usePluginDelete(): (plugin: PluginInfo) => Promise<void>;
