import { SlotProps } from "../types.cjs"; import { ReactNode, Ref } from "react"; import RAC from "react-aria-components"; import { AriaLabelingProps } from "@marigold/types"; type RemovedProps = 'className' | 'style' | 'elementType' | 'slot'; export interface TextValueProps extends Omit, AriaLabelingProps, SlotProps { /** * The element type to render. * @default 'span' */ as?: 'div' | 'p' | 'span'; /** * The element id. */ id?: string; /** Children of the component. */ children?: ReactNode; /** Ref to the DOM element the component renders. */ ref?: Ref; } declare const TextValue: ({ as, slot, children, ref, ...props }: TextValueProps) => import("react").JSX.Element; export { TextValue };