import { ErrorResponse } from "./error-response";
import { OrderConfirmedResponse } from "./order-confirmed-response";
import { TransactionResponse } from "./transaction-response";
export type PaymentPayload = {
    amount: string;
    currency: string;
    metadata: string | object;
    customer_name: string;
    customer_email: string;
    onSuccess?: (data: TransactionResponse) => void;
    onError?: (err: ErrorResponse) => void;
    onClose?: (transactionReference: string) => void;
    onSuccessfulOrder?: (orderDetails: OrderConfirmedResponse) => void;
};
