import { SetupPaymentMethodResult } from "../../../graphql.billing.autogenerated";
interface UseSetupPaymentMethodProps {
    workspaceId: number | undefined;
    turnstile: string;
}
export default function useSetupPaymentMethod({ workspaceId, turnstile, }: UseSetupPaymentMethodProps): {
    loading: boolean;
    process: () => Promise<void>;
    response: SetupPaymentMethodResult | undefined;
    errorCode: "exceeding_updating_payment_method_limit" | undefined;
};
export {};
