
"use client";
import { SelectSize, UniversalBoxProps } from "../../../types/dist/index.js";
import * as _$react from "react";
import { RefObject } from "react";

//#region src/components/client/Select/selectContext.d.ts
type SelectFieldContextValue = {
  size: SelectSize;
  disabled?: boolean;
  readOnly?: boolean;
  required?: boolean;
  hasError?: boolean;
  width?: UniversalBoxProps['width'];
  reduceMotion?: boolean;
  uid: string;
  helpTextId?: string; /** Outer field wrapper; used to anchor SelectContent width and gutter. */
  triggerWrapperRef: RefObject<HTMLDivElement | null>;
};
declare const SelectFieldContext: _$react.Context<SelectFieldContextValue | null>;
declare function useSelectFieldContext(): SelectFieldContextValue;
declare function useOptionalSelectFieldContext(): SelectFieldContextValue | null;
//#endregion
export { SelectFieldContext, type SelectFieldContextValue, useOptionalSelectFieldContext, useSelectFieldContext };