import type { WidgetCallbackAction } from '@wordpress/widget-primitives';
/**
 * Runs an instance's callback actions and tracks, by `id`, the ones whose
 * promise has not settled. The state lives with the instance, so it
 * survives the surface that ran the action unmounting.
 *
 * @param {string} uuid The instance.
 */
export declare function useRunActions(uuid: string): {
    run: (action: WidgetCallbackAction) => Promise<void>;
    pendingIds: ReadonlySet<string>;
};
//# sourceMappingURL=use-run-actions.d.ts.map