import React from 'react';
import type { SizeProp } from '../types/props.js';
type Constructor<T = NonNullable<unknown>> = new (...args: any[]) => T;
interface WithSizeProps {
    size?: SizeProp;
}
export declare function withSize<T extends Constructor<React.Component<WithSizeProps>>>(constructor: T): WithSizeProps & T;
export {};
