import { ReactNode } from 'preact/compat'; export interface SelectOption { label: string; value: T; icon?: ReactNode; group?: string; } interface Props { value: T[] | T | null; options: SelectOption[]; onChange: (value: T[] | T | null) => void; multiple?: boolean; compareFunction?: (a: T, b: T) => boolean; clearable?: boolean; searchable?: boolean; placeholder?: string; classes?: string; displayPlaceholderWhenSelected?: boolean; 'aria-label'?: string; } export default function Select({ value, options, onChange, multiple, compareFunction, clearable, searchable, placeholder, classes, displayPlaceholderWhenSelected, ...props }: Props): import("preact").JSX.Element; export {}; //# sourceMappingURL=Select.d.ts.map