/** * Internal dependencies */ import { ACTION_TYPES } from './action-types'; import { PaymentGateway, PaymentGatewayUpdatePayload } from './types'; export declare function getPaymentGatewaysRequest(): { type: ACTION_TYPES.GET_PAYMENT_GATEWAYS_REQUEST; }; export declare function getPaymentGatewaysSuccess(paymentGateways: PaymentGateway[]): { type: ACTION_TYPES.GET_PAYMENT_GATEWAYS_SUCCESS; paymentGateways: PaymentGateway[]; }; export declare function getPaymentGatewaysError(error: unknown): { type: ACTION_TYPES.GET_PAYMENT_GATEWAYS_ERROR; error: unknown; }; export declare function getPaymentGatewayRequest(): { type: ACTION_TYPES.GET_PAYMENT_GATEWAY_REQUEST; }; export declare function getPaymentGatewayError(error: unknown): { type: ACTION_TYPES.GET_PAYMENT_GATEWAY_ERROR; error: unknown; }; export declare function getPaymentGatewaySuccess(paymentGateway: PaymentGateway): { type: ACTION_TYPES.GET_PAYMENT_GATEWAY_SUCCESS; paymentGateway: PaymentGateway; }; export declare function updatePaymentGatewaySuccess(paymentGateway: PaymentGateway): { type: ACTION_TYPES.UPDATE_PAYMENT_GATEWAY_SUCCESS; paymentGateway: PaymentGateway; }; export declare function updatePaymentGatewayRequest(): { type: ACTION_TYPES.UPDATE_PAYMENT_GATEWAY_REQUEST; }; export declare function updatePaymentGatewayError(error: unknown): { type: ACTION_TYPES.UPDATE_PAYMENT_GATEWAY_ERROR; error: unknown; }; type DeepPartial = { [P in keyof T]?: DeepPartial; }; export declare function updatePaymentGateway(id: string, data: DeepPartial): Generator<{ type: string; request: import("@wordpress/api-fetch/build-types/types").APIFetchOptions; } | { type: ACTION_TYPES.UPDATE_PAYMENT_GATEWAY_SUCCESS; paymentGateway: PaymentGateway; } | { type: ACTION_TYPES.UPDATE_PAYMENT_GATEWAY_REQUEST; } | { type: ACTION_TYPES.UPDATE_PAYMENT_GATEWAY_ERROR; error: unknown; }, PaymentGateway | undefined, PaymentGateway>; export type Actions = ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType; export {}; //# sourceMappingURL=actions.d.ts.map