import React, { type SelectHTMLAttributes } from "react";
import type { SelectItem } from "./Select";
declare global {
namespace JSX {
interface IntrinsicElements {
selectedcontent: React.DetailedHTMLProps, HTMLElement>;
}
}
}
export interface SelectNativeProps {
/** Triggers invalid state (maps to aria-invalid). */
invalid?: boolean;
/** Options to render inside the select. */
options: SelectItem[];
/** Placeholder text rendered as a disabled hidden option. `null` suppresses the option. */
placeholder: string | null;
}
export type SelectNativeElementProps = Omit, keyof SelectNativeProps | "multiple"> & SelectNativeProps;
/**
* Internal component. Not intended for direct use — consume `Select` instead.
*
* The native `