import type { ComponentType } from 'react';
import type { Simplify, DebounceSettings } from '../types';
type WithScreenSizeConfig = {
    /** @deprecated use `debounceTime` instead */
    windowResizeDebounceTime?: number;
} & DebounceSettings;
/**
 * @deprecated
 * @TODO remove in the next major version - exported for backwards compatibility
 */
export type WithParentSizeProps = Omit<WithScreenSizeConfig, 'debounceTime'>;
type WithScreenSizeState = {
    screenWidth?: number;
    screenHeight?: number;
};
export type WithScreenSizeProvidedProps = WithScreenSizeState;
type WithScreenSizeComponentProps<P extends WithScreenSizeProvidedProps> = Simplify<Omit<P, keyof WithScreenSizeProvidedProps> & WithScreenSizeConfig>;
export default function withScreenSize<P extends WithScreenSizeProvidedProps>(BaseComponent: ComponentType<P>): ComponentType<WithScreenSizeComponentProps<P>>;
export {};
//# sourceMappingURL=withScreenSize.d.ts.map