/**
 * useSubscription Hook
 *
 * Fetches subscription/billing info from the API for the account view
 *
 * @since v2.2.2
 */
import type { Tier } from '../../core/types/auth.js';
export interface SubscriptionInfo {
    status: 'active' | 'past_due' | 'canceled' | 'cancelling' | 'none';
    tier: Tier;
    currentPeriodEnd: string | null;
    cancelAtPeriodEnd: boolean;
    priceAmount: number | null;
}
export interface UseSubscriptionReturn {
    subscription: SubscriptionInfo | null;
    loading: boolean;
    error: string | null;
}
export declare function useSubscription(): UseSubscriptionReturn;
//# sourceMappingURL=useSubscription.d.ts.map