import React from 'react';
import type { HTMLProps } from '../utils/utilityTypes';
import type { BaseAffixProps } from './interface';
export interface AffixCssVars {
    '--zindex'?: React.CSSProperties['zIndex'];
}
export interface AffixStates {
    affixed: boolean;
    width: number;
    height: number;
}
export declare type AffixProps = BaseAffixProps & React.PropsWithChildren<HTMLProps<AffixCssVars>>;
declare const Affix: React.ForwardRefExoticComponent<BaseAffixProps & HTMLProps<AffixCssVars> & {
    children?: React.ReactNode;
} & React.RefAttributes<HTMLDivElement>>;
export default Affix;
