import { CheckoutResult, PlanType, Term } from "../../../graphql.billing.autogenerated";
interface UseSetupPaymentProps {
    workspaceId: number | undefined;
    planType: PlanType;
    term: Term;
    turnstile: string;
    isRenewal?: boolean;
}
export default function useSetupPayment({ workspaceId, planType, term, turnstile, isRenewal, }: UseSetupPaymentProps): {
    loading: boolean;
    process: (paymentMethod?: string) => Promise<void>;
    response: CheckoutResult | undefined;
    hasError: boolean;
};
export {};
