import React from 'react';
declare type Container = HTMLElement | Window;
export declare type AffixProps = {
    container?: () => Container;
    offsetBottom?: number;
    offsetTop?: number;
    relative?: boolean;
    onChange?: (affixed: boolean, isTop: boolean | undefined) => void;
    prefixCls?: string;
    className?: string;
    style?: React.CSSProperties;
    children?: React.ReactNode;
} & typeof defaultProps;
declare const defaultProps: {
    prefixCls: string;
    container: () => Window;
};
declare const Affix: {
    (props: AffixProps): JSX.Element;
    defaultProps: {
        prefixCls: string;
        container: () => Window;
    };
};
export default Affix;
