import * as React from "react";
type Props = {
    mounted?: boolean;
    onResize?: () => void;
    enterViewPortTreshold?: number;
    onEnterViewPort?: () => void;
    containerRef: React.RefObject<HTMLElement>;
    topOffset?: number;
    bottomOffset?: number;
    minHeight?: number;
    className?: string;
};
type State = {
    height?: number;
    containerHeight?: number;
    horizontallyAligned?: boolean;
    top?: number;
};
export type WithNonNullableKeys<T, K extends keyof T> = Omit<T, K> & {
    [P in K]-?: NonNullable<T[P]>;
};
export declare class Stretch extends React.Component<Props, State> {
    constructor(props: Props);
    initialized: boolean;
    cameToViewFirstTime: boolean;
    wrapperRef: React.RefObject<HTMLDivElement>;
    UNSAFE_componentWillReceiveProps(props: Props): void;
    componentDidMount(): void;
    componentWillUnmount(): void;
    _onScroll: () => void;
    onScroll: () => void;
    update: (state: Partial<State>, callback?: () => void) => void;
    getState: () => Partial<State>;
    render(): JSX.Element;
}
export {};
