import { default as React } from 'react'; import { QuantityProgressState } from './progress-logic'; export interface UseQuantityProgressOptions { current: number; total: number; unit?: string; warningThreshold?: number; /** Override the default label text */ formatLabel?: (state: QuantityProgressState) => React.ReactNode; /** Override the default detail text */ formatDetail?: (state: QuantityProgressState) => React.ReactNode; } export declare function useQuantityProgress(options: UseQuantityProgressOptions): QuantityProgressState & { label: React.ReactNode; detail: React.ReactNode; max: number; };