import HtmlNode from '../Extension/HtmlNode';
export interface SelectItem {
value: string;
title?: string;
disabled?: boolean;
}
interface InputSelectProps {
readonly title: string;
readonly name: string;
readonly id?: string;
error?: boolean;
errorMessage?: string;
readonly value?: string;
readonly options: SelectItem[];
readonly onChange: (e: Event) => void;
}
declare class InputSelect extends HtmlNode {
private readonly props;
private contexts;
constructor(element: HTMLElement | null, props: InputSelectProps);
private updateBorder;
setError(error: boolean, errorMessage?: string): void;
private render;
}
export default InputSelect;