import { BoricaGeneratePaymentDataResponse, OrderDTO } from '@sentecacommerce/sdk';
export declare const useCheckoutSubmit: ({ onSuccess, onBeforeBoricaRedirect, onError, withMeta, }: {
    onSuccess?: ((result: OrderDTO) => void) | undefined;
    onBeforeBoricaRedirect?: ((formData: BoricaGeneratePaymentDataResponse) => void) | undefined;
    onError?: ((error: any) => void) | undefined;
    withMeta?: boolean | undefined;
}) => {
    handleCheckoutSubmit: import("react-query").MutateFunction<OrderDTO, unknown, any, unknown>;
};
