import { HTMLAttributes, ReactNode } from 'react'; export interface AffixProps extends Omit, "onChange" | "defaultValue" | "defaultChecked"> { children?: ReactNode; offsetTop?: number; offsetBottom?: number; target?: () => HTMLElement | Window | null; onChange?: (affixed: boolean) => void; } export default function Affix({ children, offsetTop, offsetBottom, target, onChange, className, style, ...rest }: AffixProps): import("react").JSX.Element;