import { AriaMeterProps } from 'react-aria/useMeter'; import { ClassNameOrFunction, ContextValue, RenderProps, SlotProps } from './utils'; import { GlobalDOMAttributes } from '@react-types/shared'; import React from 'react'; export interface MeterProps extends Omit, RenderProps, SlotProps, GlobalDOMAttributes { /** * The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state. * @default 'react-aria-Meter' */ className?: ClassNameOrFunction; } export interface MeterRenderProps { /** * The value as a percentage between the minimum and maximum. */ percentage: number; /** * A formatted version of the value. * @selector [aria-valuetext] */ valueText: string | undefined; } export declare const MeterContext: React.Context>; /** * A meter represents a quantity within a known range, or a fractional value. */ export declare const Meter: (props: MeterProps & React.RefAttributes) => React.ReactElement> | null;