import React from 'react';
import { SelectPropsWidthGroup, SelectPropsWidthAbsolute } from './Props';
interface GroupState<Item> {
    data: Item[];
}
declare const _default: <Item, Value>(Origin: React.ComponentType<import("./Props").BaseSelectProps<Item, Value>>) => {
    new (props: SelectPropsWidthGroup<Item, Value>): {
        groupKey: string;
        componentDidMount(): void;
        componentDidUpdate(prevProps: SelectPropsWidthGroup<Item, Value>): void;
        groupByData(): void;
        render(): JSX.Element;
        context: any;
        setState<K extends "data">(state: GroupState<Item> | ((prevState: Readonly<GroupState<Item>>, props: Readonly<SelectPropsWidthGroup<Item, Value>>) => GroupState<Item> | Pick<GroupState<Item>, K> | null) | Pick<GroupState<Item>, K> | null, callback?: (() => void) | undefined): void;
        forceUpdate(callback?: (() => void) | undefined): void;
        readonly props: Readonly<SelectPropsWidthGroup<Item, Value>> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<GroupState<Item>>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        shouldComponentUpdate?(nextProps: Readonly<SelectPropsWidthGroup<Item, Value>>, nextState: Readonly<GroupState<Item>>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<SelectPropsWidthGroup<Item, Value>>, prevState: Readonly<GroupState<Item>>): any;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<SelectPropsWidthGroup<Item, Value>>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<SelectPropsWidthGroup<Item, Value>>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<SelectPropsWidthGroup<Item, Value>>, nextState: Readonly<GroupState<Item>>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<SelectPropsWidthGroup<Item, Value>>, nextState: Readonly<GroupState<Item>>, nextContext: any): void;
    };
    defaultProps: {
        data: never[];
    };
    contextType?: React.Context<any> | undefined;
};
export default _default;
