import type { ProgressContextType, IProgressProps, IProgressIndicatorProps, IProgressTrackProps, IProgressLabelProps, IProgressValueProps } from './Progress.types'; declare const useProgress: () => ProgressContextType; /** * Progress root component that provides progress context to child components. * * Wraps Base UI `Progress.Root` with a context provider that shares the current * progress value with descendant components (indicator, value display, etc.). * * @param props - Progress props including Base UI root props, slots, and config * @returns A progress container element with context provider * * @example * ```tsx * * * * * * ``` * * @example * ```tsx * // With label and animated value * *
* Loading assets * *
* * * *
* ``` */ declare function Progress({ className, slots, config: _config, ...props }: IProgressProps): import("react/jsx-runtime").JSX.Element; /** * ProgressIndicator renders the animated filled bar within the track. * * Uses `motion.create` to wrap the Base UI Indicator with spring-based * width animation that transitions smoothly as the value changes. * * @param props - Indicator props including transition config and slot overrides * @returns A motion-enhanced indicator element * * @example * ```tsx * * * * ``` */ declare function ProgressIndicator({ transition, className, slots, ...props }: IProgressIndicatorProps): import("react/jsx-runtime").JSX.Element; /** * ProgressTrack renders the background track bar that contains the indicator. * * @param props - Track props including Base UI Track props and slot overrides * @returns A track element for the progress bar * * @example * ```tsx * * * * ``` */ declare function ProgressTrack({ className, slots, ...props }: IProgressTrackProps): import("react/jsx-runtime").JSX.Element; /** * ProgressLabel renders accessible label text for the progress bar. * * @param props - Label props including Base UI Label props and slot overrides * @returns A label element for the progress bar * * @example * ```tsx * * Downloading... * * ``` */ declare function ProgressLabel({ className, slots, ...props }: IProgressLabelProps): import("react/jsx-runtime").JSX.Element; /** * ProgressValue renders the current progress as an animated counting number. * * Uses the CountingNumber primitive for spring-based numeric transitions, * so the displayed value smoothly animates as progress changes. * * @param props - Value props combining Base UI Value with CountingNumber props and slot overrides * @returns An animated numeric value element * * @example * ```tsx * * ``` * * @example * ```tsx * // With decimal places * * ``` */ declare function ProgressValue({ transition, className, slots, ...props }: IProgressValueProps): import("react/jsx-runtime").JSX.Element; export { Progress, ProgressIndicator, ProgressTrack, ProgressLabel, ProgressValue, useProgress, }; export type { IProgressProps, IProgressIndicatorProps, IProgressTrackProps, IProgressLabelProps, IProgressValueProps, IProgressConfig, ProgressContextType, ProgressSlot, } from './Progress.types'; export { progressStyles } from './Progress.styles'; //# sourceMappingURL=index.d.ts.map