import type { WidgetCallbackAction } from '@wordpress/widget-primitives';
interface CallbackActionProps {
    action: WidgetCallbackAction;
    /**
     * Whether its promise is still settling.
     */
    isPending: boolean;
    onRun: (action: WidgetCallbackAction) => void;
    /**
     * The footer's trailing form: icon-only when the action has an icon.
     */
    compact?: boolean;
}
/**
 * A callback action as a button, disabled while its promise settles.
 *
 * @param {CallbackActionProps} props Component props.
 */
export declare function CallbackAction({ action, isPending, onRun, compact, }: CallbackActionProps): React.ReactNode;
export {};
//# sourceMappingURL=callback-action.d.ts.map