export declare const DEFAULT_WARNING_THRESHOLD = 85;
export declare const DEFAULT_EXCEEDED_THRESHOLD = 100;
/**
 * Response from the quota/credit balance API
 *
 * @sisenseInternal
 */
export interface QuotaApiResponse {
    balance: number;
    initialBalance: number;
    sequenceNumber: string;
    date: string;
}
/**
 * Calculated quota state from API response
 *
 * @sisenseInternal
 */
export interface QuotaState {
    initialBalance: number;
    currentBalance: number;
    usagePercentage: number;
    isWarning: boolean;
    isExceeded: boolean;
}
/**
 * Options for useQuotaNotification
 *
 * @sisenseInternal
 */
export interface QuotaNotificationOptions {
    /** Whether to fetch. When false, skips API calls and polling. Defaults to feature-flag value. */
    enabled?: boolean;
    /** Warning threshold percentage. Defaults to 85. */
    warningThreshold?: number;
    /** Exceeded threshold percentage. Defaults to 100. */
    exceededThreshold?: number;
}
/**
 * Hook that fetches and calculates quota notification state with automatic polling.
 * Respects aiAssistant feature flags (quotaNotification + featureModelType) when enabled is not passed.
 *
 * Polls every 60 seconds to keep quota state up-to-date.
 *
 * @param options - Quota notification options. When enabled is false, skips fetching and polling.
 * @returns Quota state, enabled flag, loading status, and error
 * @sisenseInternal
 */
export declare const useQuotaNotification: (options?: QuotaNotificationOptions) => {
    enabled: boolean;
    quotaState: QuotaState | null;
    isLoading: boolean;
    error: unknown;
};
