export declare const useSubscribeForProduct: ({ onSuccess, }: {
    onSuccess: () => void;
}) => {
    subscribe: ({ email, quantity, sku, }: {
        email: string;
        quantity: number;
        sku: string;
    }) => Promise<import("@sentecacommerce/sdk").CustomerProductSubscriptionDTO | undefined>;
    isSubscribed: boolean;
    setIsSubscribed: {
        on: () => void;
        off: () => void;
        toggle: () => void;
    };
    error: unknown;
};
