import React, { ComponentType } from 'react'; import { Props as ISelectProps, PopUpProps } from './InputSelect/types'; import { Props as SelectProps } from './Select/types'; export declare function WithPopUpHeight(Component: ComponentType<(ISelectProps | SelectProps) & PopUpProps>): { new (props: ISelectProps | SelectProps): { popUpItemRef: PopUpProps['popUpItemRef']; componentDidUpdate(prevProps: ISelectProps): void; render(): JSX.Element; context: any; setState(state: { popUpMaxHeight: number; } | ((prevState: Readonly<{ popUpMaxHeight: number; }>, props: Readonly) => { popUpMaxHeight: number; } | Pick<{ popUpMaxHeight: number; }, K> | null) | Pick<{ popUpMaxHeight: number; }, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{ popUpMaxHeight: number; }>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{ popUpMaxHeight: number; }>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{ popUpMaxHeight: number; }>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{ popUpMaxHeight: number; }>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{ popUpMaxHeight: number; }>, nextContext: any): void; }; contextType?: React.Context | undefined; };