export declare const useUnsubscribe: ({ onSuccess }: {
    onSuccess?: (() => void) | undefined;
}) => import("react-query").MutationResultPair<import("@sentecacommerce/sdk").CustomerConsentDTO, unknown, {
    consentKey: string;
    email?: string | undefined;
}, unknown>;
