import * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * A text label of the currently selected item. * Renders a `` element. * * Documentation: [Base UI Select](https://base-ui.com/react/components/select) */ export declare const SelectValue: React.ForwardRefExoticComponent>; export interface SelectValueState { /** * The value of the currently selected item. */ value: any; } export interface SelectValueProps extends Omit, 'children'> { /** * Accepts a function that returns a `ReactNode` to format the selected value. * @example * ```tsx * * {(value: string | null) => value ? labels[value] : 'No value'} * * ``` */ children?: React.ReactNode | ((value: any) => React.ReactNode); } export declare namespace SelectValue { type State = SelectValueState; type Props = SelectValueProps; }