import * as React from "react";
type Props = {
    onAffixChange?: (changed: boolean) => void;
    topOffset?: number;
    bottomOffset?: number;
    containerRef?: React.RefObject<HTMLElement>;
    style?: React.CSSProperties;
    className?: string;
};
declare enum AFFIX_STATE {
    TOP = "TOP",
    AFFIXED = "AFFIXED",
    BOTTOM = "BOTTOM"
}
type State = {
    affixState?: AFFIX_STATE | undefined;
    change?: number;
    width?: number;
    top?: number;
    affixHeight?: number;
    fixerHeight?: number;
};
export declare class Affix extends React.Component<Props, State> {
    constructor(props: Props);
    containerRef: React.RefObject<HTMLDivElement>;
    wrapperRef: React.RefObject<HTMLDivElement>;
    positionerRef: React.RefObject<HTMLDivElement>;
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidUpdate(prevProps: Props, prevState: State): void;
    getState: (props: Props) => State;
    _onScroll: () => void;
    onScroll: () => void;
    _onResize: () => void;
    onResize: () => void;
    render(): JSX.Element;
}
export {};
