import React from 'react'; import { DefaultProps, FlowindColor, FlowindSize, Selectors } from '../../styles'; import useStyles, { ProgressStylesParams } from './progress.styles'; export type ProgressStylesNames = Selectors; interface ProgressSection extends React.ComponentPropsWithRef<'div'> { value: number; color: FlowindColor; label?: string; tooltip?: React.ReactNode; } export interface ProgressProps extends DefaultProps, React.ComponentPropsWithoutRef<'div'> { variant?: string; /** Percent of filled bar (0-100) */ value?: number; /** Progress color from theme */ color?: FlowindColor; /** Height of progress bar */ size?: FlowindSize; /** Key of theme.radius or any valid CSS value to set border-radius, theme.defaultRadius by default */ radius?: FlowindSize; /** Adds stripes */ striped?: boolean; /** Whether to animate striped progress bars */ animate?: boolean; /** Text to be placed inside the progress bar */ label?: string; /** Replaces value if present, renders multiple sections instead of single one */ sections?: ProgressSection[]; } export declare const Progress: React.ForwardRefExoticComponent>; export {};