import type { ActionDashboardCard, ActionFormSubmitResult, Dashboard, ParametersForActionExecution } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { Dispatch } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store";
type EditableActionButtonAttrs = Pick<ActionDashboardCard, "card_id" | "action" | "parameter_mappings" | "visualization_settings">;
export declare function updateButtonActionMapping(dashCardId: number, attributes: EditableActionButtonAttrs): (dispatch: Dispatch) => void;
export type ExecuteRowActionPayload = {
    dashboard: Dashboard;
    dashcard: ActionDashboardCard;
    parameters: ParametersForActionExecution;
    dispatch: Dispatch;
    shouldToast?: boolean;
};
export declare const executeRowAction: ({ dashboard, dashcard, parameters, dispatch, shouldToast, }: ExecuteRowActionPayload) => Promise<ActionFormSubmitResult>;
export declare const setEditingDashcardId: (dashcardId: number | null) => (dispatch: Dispatch) => void;
export {};
