/** * [WHO]: Public exports from this file (see implementation below). * [FROM]: See the import block immediately after this header. * [TO]: sparkdesign package consumers; output of CLI `add` when applicable. * [HERE]: registry/basic/select.tsx — Spark Design source; keep aligned with the main library. * * [PROTOCOL]: * 1. Keep this P3 header in sync when the public contract changes. * 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change. * 3. Follow design tokens and explicit type exports. */ import * as React from 'react'; import * as SelectPrimitive from '@radix-ui/react-select'; import { type VariantProps } from 'class-variance-authority'; declare const Select: React.FC; declare const SelectGroup: React.ForwardRefExoticComponent>; declare const SelectValue: React.ForwardRefExoticComponent>; declare const selectTriggerVariants: (props?: ({ size?: "sm" | "md" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface SelectTriggerProps extends Omit, 'size'>, VariantProps { triggerIcon?: React.ReactNode; size?: 'sm' | 'md' | 'lg'; } declare const SelectTrigger: React.ForwardRefExoticComponent>; declare const SelectScrollUpButton: React.ForwardRefExoticComponent, "ref"> & { scrollUpIcon?: React.ReactNode; } & React.RefAttributes>; declare const SelectScrollDownButton: React.ForwardRefExoticComponent, "ref"> & { scrollDownIcon?: React.ReactNode; } & React.RefAttributes>; declare const SelectContent: React.ForwardRefExoticComponent, "ref"> & { /** When provided (e.g. from ThemeStyleProvider), used for portal wrapper */ dataStyle?: string; dataTheme?: string; } & React.RefAttributes>; declare const SelectLabel: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const SelectItem: React.ForwardRefExoticComponent, "ref"> & { itemIndicatorIcon?: React.ReactNode; } & React.RefAttributes>; declare const SelectSeparator: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, selectTriggerVariants, };