import { HTMLProps, ReactElement, ReactNode } from 'react';
import { SelectOptionProps } from './select-option/select-option';
export type SelectProps = {
/**
* Custom classname
*/
className?: string;
/**
* List of options
*/
children?: ReactElement[];
/**
* Custom select trigger element
*/
trigger?: ReactElement;
/**
* Allow selection of multiple options
*/
multiple?: boolean;
/**
* Selected options (single, or multiple)
*/
value?: string | string[];
/**
* On change event handler
*/
onChange?: (e: string | Array) => void;
/**
* Label of select
*/
label?: string;
/**
* Custom text shown inside the select field
*/
labelText?: ReactElement;
/**
* Add custom prefix element
*/
prefix?: ReactElement;
/**
* Name of form
*/
name?: string;
/**
* Custom helper component
*/
helper?: ReactNode;
/**
* Custom placeholder text
*/
placeholder?: ReactNode;
/**
* Render as error
*/
error?: boolean;
/**
* Render as disabled
*/
disabled?: boolean;
/**
* Custom anchor icon
*/
icon?: ReactElement;
/**
* Handle state internally
*/
standalone?: boolean;
/**
* Custom HTML attributes for the trigger wrapper element
*/
triggerWrapperProps?: Omit, 'ref'>;
};
export declare const Select: (props: SelectProps & import("react").RefAttributes) => ReactElement> | null;