import * as React from 'react';
import { ListContextValue } from "../useList/ListContext.js";
import { SelectOption } from "../useOption/index.js";
import { CompoundComponentContextValue } from "../useCompound/index.js";
export type SelectProviderValue<Value> = CompoundComponentContextValue<Value, SelectOption<Value>> & ListContextValue<Value>;
export interface SelectProviderProps<Value> {
  value: SelectProviderValue<Value>;
  children: React.ReactNode;
}
/**
 * Sets up the contexts for the underlying Option components.
 *
 * @ignore - do not document.
 */
export declare function SelectProvider<Value>(props: SelectProviderProps<Value>): React.JSX.Element;