import { Component, MutableRefObject, ReactElement } from 'react';
declare type SqueezerProps = {
    children: ({ ref }: {
        ref: (el: Element | null) => void;
    }) => ReactElement;
    compact: () => boolean;
    uncompact: () => boolean;
    innerRef?: (el: Element) => void;
    innerMeasure?: (measure: () => void) => void;
};
declare class Squeezer extends Component<SqueezerProps> {
    rootRef: MutableRefObject<Element | null>;
    measuring: boolean;
    measurements: number[];
    minWidth: number;
    addMeasurement(width: number): void;
    measure(force?: boolean): void;
    check(force?: boolean): void;
    handleResize: () => void;
    render(): JSX.Element;
}
export default Squeezer;
