import { FC, Ref } from 'react'; import { PageControlItemProps } from '../PageControlItem'; import { PageControlSize } from '../../types'; export interface PageControlProgressProps extends PageControlItemProps { /** * Index of the page item (zero-based). * Used to determine whether this item is currently active. */ index: number; /** * Duration of the progress animation in milliseconds. * Controls how long the visual fill takes to complete. * Defaults to 5000ms if not provided. */ duration?: number; /** * Ref forwarded to the underlying button element. */ ref?: Ref; /** * Whether this page item is currently active. * If not provided, active state is inferred from context. */ current?: boolean; /** * Defines the size of the page control items. */ size?: PageControlSize; } /** PageControlProgress is a UI component used within PageControl to represent a navigation item with a visual progress indicator. It animates over time and triggers a callback when the progress completes, enabling automatic step transitions. */ export declare const PageControlProgress: FC;