import React from 'react';
import { BasicFormComponent } from '../__types__';
export declare type optionType = {
    id: any;
    value: string | number;
    el?: any;
    onClick?: Function;
};
declare type uniqueFieldsType = {
    [key: number]: string;
};
declare type Props = BasicFormComponent & {
    onSelect?: (value: string, context?: any) => void;
    list: optionType[];
    inputWidth?: string;
    maxHeight: {
        value: number;
        unit: string;
    };
    focus?: number | string;
    className?: string;
    hideSelected?: boolean;
    additional?: any;
    uniqueFields?: uniqueFieldsType;
    portal?: boolean;
    direction?: string;
    centered?: boolean;
    portalClassName?: string;
    activeValueStyle?: React.CSSProperties;
    dropdownStyle?: React.CSSProperties;
};
declare type State = {
    isScrollable: boolean;
};
export declare class Select extends React.Component<Props, State> {
    inputRef: any;
    optionsRef: any;
    static defaultProps: {
        maxHeight: {
            value: number;
            unit: string;
        };
        withContext: boolean;
    };
    constructor(props: any, context: any);
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidUpdate({ value: prevValue }: Props): void;
    onSelect: (value: any) => void;
    onEnterPress: (event: {
        key: string;
    }) => void;
    makeScrollable(): void;
    static contextType: React.Context<{}>;
    render(): JSX.Element;
}
export {};
